shaka-packager/packager
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
..
app Outputs default_KID for non-MP4 ContentProtection elements. 2016-01-22 21:47:42 +00:00
media Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
mpd Outputs default_KID for non-MP4 ContentProtection elements. 2016-01-22 21:47:42 +00:00
testing Get rid of svn dependencies 2015-10-16 20:11:20 +00:00
third_party Disable HAVE_STROPTS_H which is not available in CentOS 2015-11-17 19:55:32 +00:00
tools Add ignore file for TSan build 2015-11-13 18:57:54 +00:00
version Add version information in generated outputs 2016-01-08 19:08:56 +00:00
common.gypi Enable '-Wimplicit-fallthrough' and fix issues 2016-01-06 17:12:49 -08:00
packager.gyp Enable '-Wimplicit-fallthrough' and fix issues 2016-01-06 17:12:49 -08:00