summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authordamienv <damienv@chromium.org>2014-08-26 18:47:58 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-27 01:48:37 +0000
commita6c976378bd6485a520f0806e82126b25047d1c9 (patch)
tree24e4b9724f95ea4a72dffc2ab7d6ef2e9e86b4cf /media
parent29fe338316a08c2669d2e011889dff2b91dfb616 (diff)
downloadchromium_src-a6c976378bd6485a520f0806e82126b25047d1c9.zip
chromium_src-a6c976378bd6485a520f0806e82126b25047d1c9.tar.gz
chromium_src-a6c976378bd6485a520f0806e82126b25047d1c9.tar.bz2
Add the mp2t mimetype to the list of supported mime types.
The mp2t mimetype is now supported when the mpeg2 TS stream parser is enabled. This change is required since isTypeSupported involves that CanPlayType for the same mime type is at least maybe. This condition is now enforced at Blink level. BUG=None Review URL: https://codereview.chromium.org/478043005 Cr-Commit-Position: refs/heads/master@{#292073}
Diffstat (limited to 'media')
-rw-r--r--media/BUILD.gn3
-rw-r--r--media/media.gyp12
2 files changed, 0 insertions, 15 deletions
diff --git a/media/BUILD.gn b/media/BUILD.gn
index 8912f4b..9f450c8 100644
--- a/media/BUILD.gn
+++ b/media/BUILD.gn
@@ -24,9 +24,6 @@ config("media_config") {
if (use_cras) {
defines += [ "USE_CRAS" ]
}
- if (enable_mpeg2ts_stream_parser) {
- defines += [ "ENABLE_MPEG2TS_STREAM_PARSER" ]
- }
}
config("media_dependent_config") {
diff --git a/media/media.gyp b/media/media.gyp
index 620f9b2..f9f6cfc 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -973,13 +973,6 @@
'formats/mpeg/mpeg_audio_stream_parser_base.cc',
'formats/mpeg/mpeg_audio_stream_parser_base.h',
],
- 'conditions': [
- ['enable_mpeg2ts_stream_parser==1', {
- 'defines': [
- 'ENABLE_MPEG2TS_STREAM_PARSER',
- ],
- }],
- ],
}],
['target_arch=="ia32" or target_arch=="x64"', {
'dependencies': [
@@ -1271,11 +1264,6 @@
'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"', {