Commit Graph

3930 Commits

Author SHA1 Message Date
saxon 05f5a967fe av/stream/flac: using writerseeker to pass to wav.NewEncoder because I don't want to give it a file, but it's not working 2019-02-08 18:07:59 +10:30
saxon 631b3a27f2 av/stream/flac: wrote decode function and test to see if we can get wav. 2019-02-08 18:07:59 +10:30
saxon dda6602a47 av/stream/flac: added decode.go and flac_test.go 2019-02-08 18:07:59 +10:30
saxon b28a75d665 av/revid: removed test commands that we're not using anymore 2019-02-08 18:07:43 +10:30
saxon a6d02a2e02 stream/mts: adding some constants 2019-02-08 18:06:47 +10:30
saxon 90a85fbfbb cmd/ts-repair: updated comments and made funcs more robust 2019-02-08 18:06:47 +10:30
saxon cac7184737 cmd/ts-repair: got rid of debug prints 2019-02-08 18:06:47 +10:30
saxon 72f0087b9a cmd/ts-repair: got setting of discontinuity indicators working and also adding adaptation fields to pat and pmt for this reason. 2019-02-08 18:06:47 +10:30
saxon c7a9e0a06b mts: fixing cc 2019-02-08 18:06:47 +10:30
Saxon Milton 0bb1006c19 Merged in metadata-refactor (pull request #131)
Metadata Refactor

Approved-by: kortschak <dan@kortschak.io>
2019-02-08 01:20:08 +00:00
Saxon Milton 3a05fd533c Merged in mem-leak-debug (pull request #136)
Mem usage fix

Approved-by: kortschak <dan@kortschak.io>
2019-02-08 01:18:26 +00:00
saxon f0fc399d47 revid/revid.go: removed space 2019-02-08 11:24:41 +10:30
saxon db3b34c10f stream/mts/meta: meta.Delete no longer returns error - updated code accordingly 2019-02-08 10:56:19 +10:30
saxon a94bdbfe47 stream/mts/meta: meta.Get now returns ok bool rather than error - updated usage accordingly 2019-02-08 10:25:57 +10:30
saxon 8bdfed9960 stream/mts: fixing conflicts 2019-02-08 10:13:51 +10:30
Saxon Milton 0aa9cc913f Merged in ts-fixer (pull request #129)
cmd/ts-repair: test bed for ts repair
2019-02-07 13:56:38 +00:00
saxon b2150cf8de experimentation/ts-repair: added description to file header 2019-02-08 00:25:47 +10:30
saxon 7d85b78b6d moved cmd/ts-repair to experimentation 2019-02-08 00:16:19 +10:30
saxon 700328627d cmd/ts-repair: added required consts and undid changes to mts pkg 2019-02-08 00:14:22 +10:30
saxon 4834bc8171 Merge branch 'master' into ts-fixer 2019-02-07 23:55:55 +10:30
Saxon Milton cd060db54c Merged in remove-test-cmds (pull request #124)
av/revid: removed test commands that we're not using anymore
2019-02-07 13:22:58 +00:00
saxon 734cf8cca9 revid/cmd: merged in master and again removed cmds 2019-02-07 23:49:10 +10:30
Saxon Milton 75854b6201 Merged in flac-decoding (pull request #123)
av: Flac decoding

Approved-by: Alan Noble <anoble@gmail.com>
2019-02-07 13:12:12 +00:00
saxon 9ef5886d66 created experimentation dir under av, and moved flac package here.
created experimentation dir under av, and moved flac pkg here.

experimentation/flac: removed wav file
2019-02-07 20:02:38 +10:30
saxon c7f1acac26 doesn't look like it worked 2019-02-07 18:19:38 +10:30
saxon 3f72e21970 revid: reducing ring buffer size 2019-02-07 18:03:59 +10:30
saxon 628adee49a commenting out things i don't want to run 2019-02-07 16:42:39 +10:30
saxon 330fdc6aa8 stream/mts/psi/psi.go: cleaned up and comment consts 2019-02-07 15:48:35 +10:30
saxon b4393e5136 stream/mts/psi/psi.go: checking that we have enough space in psi before creating descriptor 2019-02-07 15:23:41 +10:30
saxon 21265303d7 stream/mts/mpegts.go: reorganised exported constants and commented 2019-02-07 15:06:54 +10:30
saxon b8fc6d7e99 stream/mts/meta/meta.go: ReadFrom to Extract 2019-02-07 14:50:31 +10:30
saxon 46b5acb48c stream/mts/mpgets.go: removing unused consts 2019-02-07 13:59:43 +10:30
saxon 7a7be5580d stream/mts/metaEncode_test.go: wrote function comments for tests 2019-02-07 10:55:58 +10:30
saxon bb032778c6 stream/mts/metaEncode_test.go: fixed metaEncode_test.go by initialising Meta global in tests 2019-02-07 10:48:25 +10:30
saxon 66a2325dcb stream/mts/meta/meta_test.go: using table of tests for TestReadFrom 2019-02-07 10:42:01 +10:30
saxon f96f761b2f stream/mts/meta/meta_test.go: fixed up error logging in meta_test.go i.e. not doing err.Error() for %v format specifiers, and not using t.Errorf when we have no arguments 2019-02-07 09:01:40 +10:30
saxon ad671b520c stream/mts/encoder.go: put todo under comment for Meta meta.Data global 2019-02-07 08:31:02 +10:30
saxon 7cb58c81eb stream/mts/encoder.go: added comment to Meta meta.Data global as it unexported. 2019-02-07 08:29:51 +10:30
saxon fb2217a1f9 stream/mts/encoder.go: wrote todo to make Meta meta.Data struct not be global 2019-02-07 08:27:37 +10:30
saxon e2bbc84c1e cmd/revid-cli: using const strings for copyright metadata preamble 2019-02-07 08:25:37 +10:30
Saxon Milton ccb8a52db1 revid/revid.go: removing shorthand initialisations for vars already declared 2019-02-06 05:28:57 +00:00
Saxon Milton 87cb303935 revid/revid.go: again checking to see we actually have destinations before putting anything into the ring buffer 2019-02-06 05:27:35 +00:00
saxon ef4aa8efd1 revid/revid.go: reverted change regarding putting things in ringbuffer when we won't use it 2019-02-06 15:52:59 +10:30
saxon cdd6703930 } 2019-02-06 15:45:14 +10:30
Trek a8d4e0db6a adpcmgo: encodeblock function added 2019-02-06 15:39:14 +10:30
saxon 57d1dba2fb stream/mts/meta/meta.go: updated meta.NewWith so that it just uses meta.New, and now ti can add an abitrary number of things to the map. It also overwrites keys that have been repeated 2019-02-06 12:16:44 +10:30
saxon 2b7ab27763 cmd/revid-cli & stream/mts/meta: added meta.NewWith function that creates a new meta.Data and adds an initial entry. Using meta.NewWith in revid-cli to initialise mts' global meta.Data with some preamble data. 2019-02-06 10:19:12 +10:30
saxon d523677627 stream/mts/meta/meta.go: renamed Metadata struct to Data 2019-02-06 09:59:55 +10:30
saxon 9b5eb558ef stream/mts/meta/meta_test.go: Updated func comment for TestReadFrom 2019-02-06 00:01:17 +10:30
saxon 35c06c97aa stream/mts/meta/meta_test.go: not using global vars for errors 2019-02-05 23:57:53 +10:30