X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=opal-ffmpeg10.patch;h=2e5ad38005db18ea6c51855d93fd03afd52e9c11;hb=a7e6bfefe63fdae1f44c830b72ffa403377166ed;hp=14254e226849ed74bb2ee66dabd0e61791fcd778;hpb=79955eaedbec4bbd4da5b7669ab267bf58e87797;p=packages%2Fopal.git diff --git a/opal-ffmpeg10.patch b/opal-ffmpeg10.patch index 14254e2..2e5ad38 100644 --- a/opal-ffmpeg10.patch +++ b/opal-ffmpeg10.patch @@ -89,3 +89,21 @@ diff -Naur opal-3.10.7.orig/plugins/video/MPEG4-ffmpeg/mpeg4.cxx opal-3.10.7/plu const uint8_t badflags = AC_ERROR | DC_ERROR | MV_ERROR; for (int i = 0; i < s->mb_num && errors < threshold; ++i) { if (s->error_status_table[s->mb_index2xy[i]] & badflags) +--- opal-3.10.8/plugins/video/H.264/h264-x264.cxx.orig 2012-10-05 08:19:40.000000000 +0200 ++++ opal-3.10.8/plugins/video/H.264/h264-x264.cxx 2012-11-19 12:41:41.265765218 +0100 +@@ -1071,13 +1071,11 @@ + return false; + + m_context->workaround_bugs = FF_BUG_AUTODETECT; +- m_context->error_recognition = FF_ER_AGGRESSIVE; ++ m_context->err_recognition = AV_EF_AGGRESSIVE; + m_context->idct_algo = FF_IDCT_H264; + m_context->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK; + m_context->flags = CODEC_FLAG_INPUT_PRESERVED | CODEC_FLAG_EMU_EDGE; +- m_context->flags2 = CODEC_FLAG2_BRDO | +- CODEC_FLAG2_MEMC_ONLY | +- CODEC_FLAG2_DROP_FRAME_TIMECODE | ++ m_context->flags2 = CODEC_FLAG2_DROP_FRAME_TIMECODE | + CODEC_FLAG2_SKIP_RD | + CODEC_FLAG2_CHUNKS; +