shaka-packager/packager/media
KongQun Yang 2c3aed4842 Handle possible NewSampleEvent before ParserInitEvent
For WebM contents, it is possible that we may receive some NewSampleEvent
before receiving ParserInitEvent. This is because init event is fired
after analyzing a video block which could come after an audio block.

Also modified Flush() function to return a bool to indicate whether the
the flush is successful and whether the samples are handled correctly.

And added macro to ensure Flush() and Parse() results are handled.

Fixes #71

Change-Id: I2294d6f529f54e4578344916559bb1bc116c745a
2016-01-22 17:50:54 -08:00
..
base Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
event Fix a memory leak due to thread object tracking 2016-01-08 23:41:41 +00:00
file Fix a memory leak due to thread object tracking 2016-01-08 23:41:41 +00:00
filters Implement vp8 bit stream parser. 2015-12-30 21:40:10 +00:00
formats Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
test Update end to end test with vpx packaging 2016-01-13 19:34:50 +00:00