shaka-packager/packager/media/formats/wvm
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
..
wvm.gyp Added support for multiple audio & video configurations in WVM parser. 2015-10-13 10:42:49 -07:00
wvm_media_parser.cc Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
wvm_media_parser.h Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
wvm_media_parser_unittest.cc Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00