summaryrefslogtreecommitdiffstats
path: root/media/media.gyp
diff options
context:
space:
mode:
authordamienv@chromium.org <damienv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-06 16:21:17 +0000
committerdamienv@chromium.org <damienv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-06 16:21:17 +0000
commit36b07aefcbe7d50f1e7ce14f4dcd2f0f8d46a7fe (patch)
tree0ed19b37a52249a3e88f2cfcb11f613791be9318 /media/media.gyp
parent23e63803fbf9a7aaf0a6107e36ea9c2ef6857d95 (diff)
downloadchromium_src-36b07aefcbe7d50f1e7ce14f4dcd2f0f8d46a7fe.zip
chromium_src-36b07aefcbe7d50f1e7ce14f4dcd2f0f8d46a7fe.tar.gz
chromium_src-36b07aefcbe7d50f1e7ce14f4dcd2f0f8d46a7fe.tar.bz2
Fix possible buffer emission during an abort.
From the MSE spec - Reset Parser state: If the append state equals PARSING_MEDIA_SEGMENT and the input buffer contains some complete coded frames, then run the coded frame processing algorithm until all of these complete coded frames have been processed. BUG=None Review URL: https://codereview.chromium.org/256583006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/media.gyp')
-rw-r--r--media/media.gyp5
1 files changed, 5 insertions, 0 deletions
diff --git a/media/media.gyp b/media/media.gyp
index bdf3793..38dfcc5 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -1181,6 +1181,11 @@
'formats/mpeg/mp3_stream_parser_unittest.cc',
],
}],
+ ['enable_mpeg2ts_stream_parser==1', {
+ 'defines': [
+ 'ENABLE_MPEG2TS_STREAM_PARSER',
+ ],
+ }],
# TODO(wolenetz): Fix size_t to int truncations in win64. See
# http://crbug.com/171009
['OS=="win" and target_arch=="x64"', {