Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: trunk/src/media/ffmpeg/ffmpeg_common.cc

Issue 13972014: Revert 194465 "media: Add support for playback for VP8 Alpha vid..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/media/base/yuv_convert.cc ('k') | trunk/src/media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/ffmpeg/ffmpeg_common.cc
===================================================================
--- trunk/src/media/ffmpeg/ffmpeg_common.cc (revision 194468)
+++ trunk/src/media/ffmpeg/ffmpeg_common.cc (working copy)
@@ -382,12 +382,6 @@
if (key)
is_encrypted = true;
- AVDictionaryEntry* webm_alpha =
- av_dict_get(stream->metadata, "alpha_mode", NULL, 0);
- if (webm_alpha && !strcmp(webm_alpha->value, "1")) {
- format = VideoFrame::YV12A;
- }
-
config->Initialize(codec,
profile,
format,
@@ -496,8 +490,6 @@
case PIX_FMT_YUV420P:
case PIX_FMT_YUVJ420P:
return VideoFrame::YV12;
- case PIX_FMT_YUVA420P:
- return VideoFrame::YV12A;
default:
DVLOG(1) << "Unsupported PixelFormat: " << pixel_format;
}
@@ -510,8 +502,6 @@
return PIX_FMT_YUV422P;
case VideoFrame::YV12:
return PIX_FMT_YUV420P;
- case VideoFrame::YV12A:
- return PIX_FMT_YUVA420P;
default:
DVLOG(1) << "Unsupported VideoFrame::Format: " << video_format;
}
« no previous file with comments | « trunk/src/media/base/yuv_convert.cc ('k') | trunk/src/media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698