[FFmpeg-soc] [soc]: r5665 - libavfilter/vf_rotate.c
stefano
subversion at mplayerhq.hu
Sat Mar 13 14:55:11 CET 2010
Author: stefano
Date: Sat Mar 13 14:55:11 2010
New Revision: 5665
Log:
Prevent rotate from calling avfilter_default_draw_slice(), which was
causing randomic behaviour.
Only one slice has to be passed to the next filter, in the end_frame()
callback.
Modified:
libavfilter/vf_rotate.c
Modified: libavfilter/vf_rotate.c
==============================================================================
--- libavfilter/vf_rotate.c Sat Mar 13 14:30:26 2010 (r5664)
+++ libavfilter/vf_rotate.c Sat Mar 13 14:55:11 2010 (r5665)
@@ -105,6 +105,10 @@ static int config_props_output(AVFilterL
return 0;
}
+static void draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
+{
+}
+
static void end_frame(AVFilterLink *link)
{
RotContext *rot = link->dst->priv;
@@ -186,6 +190,7 @@ AVFilter avfilter_vf_rotate =
.inputs = (AVFilterPad[]) {{ .name = "default",
.type = CODEC_TYPE_VIDEO,
.start_frame = start_frame,
+ .draw_slice = draw_slice,
.end_frame = end_frame,
.config_props = config_props_input,
.min_perms = AV_PERM_READ, },
More information about the FFmpeg-soc
mailing list