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
|
d373f85b85
|
stream/mts: wrote test in metaEncode_test.go and found bug which was fixed
|
2019-01-30 15:37:15 +10:30 |
saxon
|
60c2eafd8c
|
stream/mts/psi/descriptor_test.go: added some function comments above new test funcs
|
2019-01-30 12:13:29 +10:30 |
saxon
|
c2112e58ac
|
stream/mts/psi: added some more tests for AddDescriptor, and in the process fixed some bugs with AddDescriptor
|
2019-01-30 12:08:55 +10:30 |
saxon
|
55bee1532e
|
stream/mts/psi/psi.go: added function comments and improved commenting and layout inside functions
|
2019-01-30 11:01:04 +10:30 |
saxon
|
d49a8b8c6b
|
stream/mts/psi.go: removed trimPadding function as we don't need this anymore
|
2019-01-29 22:09:17 +10:30 |
saxon
|
7f8465f1ad
|
stream/mts/psi/descriptor_test.go: added comments to test funcs - as well as some todos for further testing.
|
2019-01-29 22:07:06 +10:30 |
saxon
|
568840f691
|
stream/mts/psi: cleaned up descriptor_test.go
|
2019-01-29 18:22:57 +10:30 |
saxon
|
a5e1763c97
|
stream/mts/psi: finished writing AddDescriptor test -everything working fine now
|
2019-01-29 16:42:02 +10:30 |
saxon
|
5cba861063
|
stream/mts/psi: removed test that we don't need to do
|
2019-01-29 16:16:37 +10:30 |
saxon
|
c7d418ce81
|
stream/mts/psi: deleted some todos as they have been addressed now
|
2019-01-29 16:15:18 +10:30 |
saxon
|
1786ed2661
|
stream/mts/psi: finished writing AddDescriptor
|
2019-01-29 16:14:00 +10:30 |
saxon
|
252e6680ed
|
stream/mts/psi: modified way in which we add padding to psi - now we leave it up to the mts package to do this on creation of an ts packet. Also in the middle of writing AddDescriptor func, and finding issues, hence the mentioned change.
|
2019-01-29 15:42:51 +10:30 |
saxon
|
2145db71d4
|
stream/mts/psi: wrote SetSectionLen func
|
2019-01-29 15:16:08 +10:30 |
saxon
|
a5f7c5ad87
|
stream/mts/psi: removed TestDeleteDescriptor test as we don't need anymore
|
2019-01-29 14:39:39 +10:30 |
saxon
|
287238ddd1
|
stream/mts/psi: removed deleteDescriptor func as we don't need it yet
|
2019-01-29 14:39:01 +10:30 |
saxon
|
4a3464252b
|
stream/mts/psi: changed HasDescriptor to also return index of descriptor in psi. Wrote func called SetProgInfoLen to set the program info length in a pmt. Started writing deleteDescriptor func to get rid of a descriptor.
|
2019-01-29 14:38:23 +10:30 |
saxon
|
a61bdac2de
|
stream/mts/psi: added testing file with tests
|
2019-01-29 14:21:25 +10:30 |
saxon
|
af239838d0
|
stream/mts/psi: modified how update crc works so that we're only giving it data that's included in crc calc as well as the crc field itself. Added some consts to allow working with SyntaxSectionLen. Added trimPadding func so that we can easily get rid of any padding. Fixed createDescriptor func which was found to be broken from TestCreateDescriptor
|
2019-01-29 14:16:33 +10:30 |
saxon
|
3a14b64480
|
stream/mts/psi/psi.go: simplified HasDescriptor func
|
2019-01-29 11:30:37 +10:30 |
saxon
|
dce113d1e4
|
stream/mts/psi/descriptor_test.go: wrote HasDescriptor test and fixed HasDescriptor function after bug was found
|
2019-01-29 11:28:40 +10:30 |
saxon
|
46b2bc4520
|
stream/mts: added some consts to describe indexes and masks, and fixed some syntax errors, so now it all builds
|
2019-01-27 17:04:46 +10:30 |
saxon
|
9171b56d31
|
stream/mts: created new type to represent Descriptor (typedef of []bytes) so that we can create receiver functions. Wrote AddDescriptor func to add or update a descriptor in a pmt. Wrote ProgramInfoLen func to return the program info length i.e. len of descriptors. Wrote HasDescriptor to check if descriptor exists, if so return the descriptor so that we can update. Wrote descriptors which returns []byte of all descriptors. Wrote create descriptor, which adds a descriptor to the existing if any i.e. shifts data downwards to accomodate new data. Wrote update func to update a descriptor.
|
2019-01-27 16:55:00 +10:30 |
saxon
|
6f421ab706
|
stream/mts/psi.go: added more to AddDescriptor and added signature for edistDesc
|
2019-01-26 23:35:31 +10:30 |
saxon
|
ecf7263bc1
|
stream/mts/meta.go: started using mutex where I was supposed to
|
2019-01-26 22:42:31 +10:30 |
saxon
|
d107231224
|
stream/mts: starting to work out meta logistics in encoder.go and added incomplete AddDescriptor function in psi package
|
2019-01-26 18:04:21 +10:30 |
saxon
|
bc3a73bedc
|
av/stream/psi/psi_test.go: updated comment for buildPmtWithMeta()
|
2019-01-21 18:25:06 +10:30 |
saxon
|
67d952c6a7
|
psi/psi_test.go: made buildPmtWithMeta() safer and readable
|
2019-01-20 21:58:23 +10:30 |
saxon
|
a24e4ecb81
|
psi/psi_test.go: not making it look like I'm appending directly to a global
|
2019-01-20 21:48:34 +10:30 |
saxon
|
c4990c946f
|
psi/psi_test.go: not wrapp tstStr in []byte
|
2019-01-20 21:39:07 +10:30 |
saxon
|
239cebe347
|
psi/psi_test.go: made location tsts const
|
2019-01-20 21:12:26 +10:30 |
saxon
|
3835ff7ce1
|
psi/psi_test.go: made location tsts strings again and have buildPmtWithMeta take a string instead of []byte
|
2019-01-20 21:11:09 +10:30 |
saxon
|
b69c990b21
|
psi/psi_test.go: got rid of bytes declaration for location strigns
|
2019-01-20 21:04:27 +10:30 |
saxon
|
1a966e8f9b
|
psi/psi_test.go: improved some naming
|
2019-01-20 20:43:00 +10:30 |
saxon
|
5c4795786e
|
psi/helpers.go: modified UpdateLocation() to make updating of location in pmt cleaner, and also removed redundant conversion of string to byte slice
|
2019-01-20 20:14:27 +10:30 |
saxon
|
98d89a4e4e
|
mts: got rid of LocationStrBytes func
|
2019-01-18 13:21:35 +10:30 |
saxon
|
1ae261dce4
|
psi: return t instead of d in addPadding() func
|
2019-01-13 20:13:35 +10:30 |
saxon
|
c4e2ca64a9
|
psi: modified addPadding to only do one resize
|
2019-01-12 17:51:39 +10:30 |
saxon
|
662d71bf54
|
mts+psi: fixed conflicts with master
|
2019-01-12 17:03:55 +10:30 |
Dan Kortschak
|
65e2ab3f6a
|
stream/mts{,psi}: fix comments
|
2019-01-11 22:29:48 +10:30 |
saxon
|
9ca7288622
|
psi: removed conflict with master
|
2019-01-11 13:17:14 +10:30 |
saxon
|
62a2e4a09a
|
psi: made addCrc less stupid by stopping the make of a redundant 4 bytes
|
2019-01-11 11:23:53 +10:30 |
saxon
|
3ac40bac99
|
psi: using letters in hex for bytes in psi_test.go
|
2019-01-11 10:54:25 +10:30 |
saxon
|
f752712dec
|
psi: made some comments in psi_test.go more english like and corrected some errors
|
2019-01-10 17:34:54 +10:30 |
saxon
|
b6c0433476
|
psi: made some global vars for pat and pmt tables unexported in psi_test.go
|
2019-01-10 17:32:42 +10:30 |
saxon
|
4b09a4f60a
|
psi: trim() => trimTo()
|
2019-01-10 17:31:14 +10:30 |
saxon
|
cda6999639
|
psi: not using named byte in asByte
|
2019-01-08 20:06:07 +10:30 |
saxon
|
fc7f5501e0
|
psi: removed conditional in HasTime and HasLocation and just used result of logic operation
|
2019-01-08 20:04:45 +10:30 |
saxon
|
d665bece23
|
psi: added dan as an author to crc.go
|
2019-01-08 20:02:59 +10:30 |
saxon
|
872d689957
|
psi: PatTableID=>patID and PmtTableID=>pmtID i.e. also made unexported
|
2019-01-08 08:42:30 +10:30 |