| Index: webkit/media/crypto/key_systems.cc
|
| diff --git a/webkit/media/crypto/key_systems.cc b/webkit/media/crypto/key_systems.cc
|
| index 80afab741d0698467e0d46b35484b0836e1e071d..13df3d4bce06fab0fc1af71918f17317cbcf9553 100644
|
| --- a/webkit/media/crypto/key_systems.cc
|
| +++ b/webkit/media/crypto/key_systems.cc
|
| @@ -38,8 +38,6 @@ struct KeySystemPluginTypePair {
|
| const char* plugin_type;
|
| };
|
|
|
| -// TODO(xhwang): Remove this and ifdefs after fixing http://crbug.com/123421.
|
| -#define DECRYPT_ONLY_AUDIO_NOT_SUPPORTED
|
| // TODO(ddorwin): Automatically support parent systems: http://crbug.com/164303.
|
| static const char kWidevineBaseKeySystem[] = "com.widevine";
|
|
|
| @@ -52,20 +50,12 @@ static const char kWidevineBaseKeySystem[] = "com.widevine";
|
| static const MediaFormatAndKeySystem
|
| supported_format_key_system_combinations[] = {
|
| // Clear Key.
|
| -#if defined(DECRYPT_ONLY_AUDIO_NOT_SUPPORTED)
|
| - { "video/webm", "vp8,vp8.0,", kClearKeyKeySystem },
|
| -#else
|
| { "video/webm", "vorbis,vp8,vp8.0,", kClearKeyKeySystem },
|
| { "audio/webm", "vorbis,", kClearKeyKeySystem },
|
| -#endif
|
| #if defined(GOOGLE_CHROME_BUILD) || defined(USE_PROPRIETARY_CODECS)
|
| -#if defined(DECRYPT_ONLY_AUDIO_NOT_SUPPORTED)
|
| - { "video/mp4", "avc1,", kClearKeyKeySystem },
|
| -#else
|
| { "video/mp4", "avc1,mp4a,", kClearKeyKeySystem },
|
| { "audio/mp4", "mp4a,", kClearKeyKeySystem },
|
| #endif
|
| -#endif
|
|
|
| // External Clear Key (used for testing).
|
| { "video/webm", "vorbis,vp8,vp8.0,", kExternalClearKeyKeySystem },
|
|
|