[FFmpeg-cvslog] r24781 - trunk/libavfilter/vf_scale.c

bcoudurier subversion
Thu Aug 12 02:33:18 CEST 2010


Author: bcoudurier
Date: Thu Aug 12 02:33:18 2010
New Revision: 24781

Log:
100L, fix vf_scale, since copy_ref_props now copy w and h, we must update them

Modified:
   trunk/libavfilter/vf_scale.c

Modified: trunk/libavfilter/vf_scale.c
==============================================================================
--- trunk/libavfilter/vf_scale.c	Thu Aug 12 01:45:05 2010	(r24780)
+++ trunk/libavfilter/vf_scale.c	Thu Aug 12 02:33:18 2010	(r24781)
@@ -153,6 +153,8 @@ static void start_frame(AVFilterLink *li
 
     outpicref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE, outlink->w, outlink->h);
     avfilter_copy_buffer_ref_props(outpicref, picref);
+    outpicref->video->w = outlink->w;
+    outpicref->video->h = outlink->h;
 
     outlink->out_buf = outpicref;
 



More information about the ffmpeg-cvslog mailing list