summaryrefslogtreecommitdiff
path: root/webmdec.cc
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2015-08-14 12:30:10 -0700
committerYaowu Xu <yaowu@google.com>2015-08-14 12:54:59 -0700
commit3d1bb97b1b8018c6ba3524473fa4f99032f35397 (patch)
tree288394c82a24807547600e65880afe54da7680d6 /webmdec.cc
parent72889a2a60926e1b3f9aa765707b0d369a1706ab (diff)
downloadlibvpx-3d1bb97b1b8018c6ba3524473fa4f99032f35397.tar.gz
write correct codecID for vp10 webm file
Change-Id: Ifeb6073c4a687a73540a0f8aef0d834f4712c193
Diffstat (limited to 'webmdec.cc')
-rw-r--r--webmdec.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/webmdec.cc b/webmdec.cc
index e152f5ee0..1020d046b 100644
--- a/webmdec.cc
+++ b/webmdec.cc
@@ -103,6 +103,8 @@ int file_is_webm(struct WebmInputContext *webm_ctx,
vpx_ctx->fourcc = VP8_FOURCC;
} else if (!strncmp(video_track->GetCodecId(), "V_VP9", 5)) {
vpx_ctx->fourcc = VP9_FOURCC;
+ } else if (!strncmp(video_track->GetCodecId(), "V_VP10", 6)) {
+ vpx_ctx->fourcc = VP10_FOURCC;
} else {
rewind_and_reset(webm_ctx, vpx_ctx);
return 0;