[FFmpeg-cvslog] r26216 - trunk/libavfilter/vf_crop.c
bcoudurier
subversion
Wed Jan 5 02:00:54 CET 2011
Author: bcoudurier
Date: Wed Jan 5 02:00:53 2011
New Revision: 26216
Log:
In crop filter, update new ref w/h instead of old one, fix chaining
Modified:
trunk/libavfilter/vf_crop.c
Modified: trunk/libavfilter/vf_crop.c
==============================================================================
--- trunk/libavfilter/vf_crop.c Tue Jan 4 19:57:16 2011 (r26215)
+++ trunk/libavfilter/vf_crop.c Wed Jan 5 02:00:53 2011 (r26216)
@@ -242,10 +242,9 @@ static void start_frame(AVFilterLink *li
AVFilterBufferRef *ref2;
int i;
- picref->video->w = crop->w;
- picref->video->h = crop->h;
-
ref2 = avfilter_ref_buffer(picref, ~0);
+ ref2->video->w = crop->w;
+ ref2->video->h = crop->h;
crop->var_values[VAR_T] = picref->pts == AV_NOPTS_VALUE ?
NAN : picref->pts * av_q2d(link->time_base);
More information about the ffmpeg-cvslog
mailing list