[SCM] libav/experimental: Fix lowres > 0 with --enable-avfilter.. Fixes issue 2072 and issue 2421.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:21:31 UTC 2013


The following commit has been merged in the experimental branch:
commit ee77f986a2f7af4ae1fb0f07d302828e08a1a2f7
Author: Anatoly Nenashev <nenashev_as at mail.ru>
Date:   Fri Jan 7 10:16:00 2011 +0000

    Fix lowres > 0 with --enable-avfilter..
    Fixes issue 2072 and issue 2421.
    
    Patch by Anatoly Nenashev, anatoly d nenashev a ovsoft d ru
    
    Originally committed as revision 26252 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffmpeg.c b/ffmpeg.c
index 7e2d82a..08a50d5 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3274,6 +3274,8 @@ static void opt_input_file(const char *filename)
                 dec->flags |= CODEC_FLAG_EMU_EDGE;
                 frame_height >>= dec->lowres;
                 frame_width  >>= dec->lowres;
+                dec->height = frame_height;
+                dec->width  = frame_width;
             }
             if(me_threshold)
                 dec->debug |= FF_DEBUG_MV;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list