diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-27 21:31:35 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-27 21:32:07 -0300 |
commit | 44e92a85bb9c99a11e18a7b3ae8f885f875bf6b4 (patch) | |
tree | eefbc8c551ec123b07ca8f01f95779dc4192eeff /libre/iceweasel/iceweasel-support-YUV420J-pixel-format.patch | |
parent | 47743b82dc1e1e47b95eed9542fec55c9a4e7dc8 (diff) |
iceweasel-1:44.0.deb1-1: updating version
Diffstat (limited to 'libre/iceweasel/iceweasel-support-YUV420J-pixel-format.patch')
-rw-r--r-- | libre/iceweasel/iceweasel-support-YUV420J-pixel-format.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libre/iceweasel/iceweasel-support-YUV420J-pixel-format.patch b/libre/iceweasel/iceweasel-support-YUV420J-pixel-format.patch deleted file mode 100644 index 178c5897d..000000000 --- a/libre/iceweasel/iceweasel-support-YUV420J-pixel-format.patch +++ /dev/null @@ -1,34 +0,0 @@ - -# HG changeset patch -# User Jean-Yves Avenard <jyavenard@mozilla.com> -# Date 1450657258 -39600 -# Node ID 8b0ced62c1957f6da6028af686c32ada1ccb570c -# Parent e1a98377eb38679bda820456ee6d20bdc17eaa8e -Bug 1233340: [ffmpeg] Support YUV420J pixel format. r=kentuckyfriedtakahe - -YUV420J is 12bpp YUV420P. - - -diff --git a/dom/media/platforms/ffmpeg/FFmpegDataDecoder.cpp b/dom/media/platforms/ffmpeg/FFmpegDataDecoder.cpp ---- a/dom/media/platforms/ffmpeg/FFmpegDataDecoder.cpp -+++ b/dom/media/platforms/ffmpeg/FFmpegDataDecoder.cpp -@@ -52,17 +52,17 @@ FFmpegDataDecoder<LIBAV_VER>::~FFmpegDat - * For now, we just look for YUV420P as it is the only non-HW accelerated format - * supported by FFmpeg's H264 decoder. - */ - static PixelFormat - ChoosePixelFormat(AVCodecContext* aCodecContext, const PixelFormat* aFormats) - { - FFMPEG_LOG("Choosing FFmpeg pixel format for video decoding."); - for (; *aFormats > -1; aFormats++) { -- if (*aFormats == PIX_FMT_YUV420P) { -+ if (*aFormats == PIX_FMT_YUV420P || *aFormats == PIX_FMT_YUVJ420P) { - FFMPEG_LOG("Requesting pixel format YUV420P."); - return PIX_FMT_YUV420P; - } - } - - NS_WARNING("FFmpeg does not share any supported pixel formats."); - return PIX_FMT_NONE; - } - |