Commit Graph

15 Commits

Author SHA1 Message Date
Trek H fdf17f3a97 meta: add consts for metadata keys 2021-02-22 16:37:13 +10:30
Saxon Nelson-Milton b077752462 revid & device/raspistill & container/mts: integrating device/raspistill functionality into revid 2021-01-27 16:49:17 +10:30
Scott Barnard d996635232 Merged in meta-more-unit-tests (pull request #381)
add unit tests for NewFromMap and EncodeAsString methods

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-02-29 05:29:54 +00:00
Scott 48a3aea7f4 container: add package comments to flv, pes, meta and psi packages 2020-02-26 14:32:08 +10:30
Scott 7ae9f265e0 add TestDeleteOrder to check that the order of keys is correct after deletion 2020-02-26 10:57:48 +10:30
Scott 9a9dba0cd2 add unit tests for NewFromMap and EncodeAsString methods 2020-02-26 10:57:48 +10:30
Scott 813c1d38e7 container/mts/meta: make Delete method correctly update order field 2020-02-26 10:53:22 +10:30
Scott cca292ea17 mts/meta: created EncodeAsString and GetAllFromString methods 2020-02-19 13:10:05 +10:30
Scott 6855244424 mts/meta: created NewFromMap method 2020-02-19 12:57:25 +10:30
Saxon 866aa6bef3 container/mts/meta/meta.go: altered comment for GetAll 2019-07-04 14:33:12 +09:30
Saxon 3eab25e18b container/mts: added SegmentForMeta func and testing
This func will further segment an MTS segment to each series of packets that
correspond to a given key and val of meta. Testing for this func has also been
written.
2019-06-17 04:30:54 +09:30
Saxon 8f434e9703 container/mts: added payload_test.go and fixed bugs in Extract 2019-06-13 15:52:25 +09:30
Saxon 482f5609e5 container/mts/meta: wrote test for GetAllAsMap 2019-06-11 22:15:27 +09:30
Saxon 9af964cfc9 container/mts/meta: added GetAllAsMap function
This function is very similar to GetAll, except that is returns a map[string]string rather
than a [][2]string. It's become apparent that a map[string]string might be more useful in
some circumstances.
2019-06-11 22:07:51 +09:30
Saxon 3a736172ee av: restructured directories 2019-03-25 11:34:56 +10:30