summaryrefslogtreecommitdiffstats
path: root/media/webm/webm_video_client.cc
diff options
context:
space:
mode:
authortomfinegan@chromium.org <tomfinegan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-06 00:35:35 +0000
committertomfinegan@chromium.org <tomfinegan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-06 00:35:35 +0000
commit0295c3db45a546ddd874f07fb416db04bb33385c (patch)
treef6800a6d3fc9b20fa4c6e485a32c79f732950631 /media/webm/webm_video_client.cc
parent3d9f74315b09318f7459f6654c2eac21dc46cff8 (diff)
downloadchromium_src-0295c3db45a546ddd874f07fb416db04bb33385c.zip
chromium_src-0295c3db45a546ddd874f07fb416db04bb33385c.tar.gz
chromium_src-0295c3db45a546ddd874f07fb416db04bb33385c.tar.bz2
media: Support VP9 in media source.
Review URL: https://chromiumcodereview.appspot.com/13652011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192672 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/webm/webm_video_client.cc')
-rw-r--r--media/webm/webm_video_client.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/webm/webm_video_client.cc b/media/webm/webm_video_client.cc
index bb4b111..b4e729e 100644
--- a/media/webm/webm_video_client.cc
+++ b/media/webm/webm_video_client.cc
@@ -39,6 +39,9 @@ bool WebMVideoClient::InitializeConfig(
if (codec_id == "V_VP8") {
video_codec = kCodecVP8;
profile = VP8PROFILE_MAIN;
+ } else if (codec_id == "V_VP9") {
+ video_codec = kCodecVP9;
+ profile = VP9PROFILE_MAIN;
} else {
MEDIA_LOG(log_cb_) << "Unsupported video codec_id " << codec_id;
return false;