From bd2837387c76327656971513ba335c7e9920e290 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 29 Nov 2009 10:42:37 +0000 Subject: [PATCH] Document slice ordering assumption required by avfilter_draw_slice(). The assumption depends on the corresponding assumption done by sws_scale() and by the scale filter. Originally committed as revision 20655 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfilter.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 1fb783de08..8ef93bae2e 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -558,6 +558,11 @@ void avfilter_end_frame(AVFilterLink *link); /** * Sends a slice to the next filter. + * + * Slices have to be provided in sequential order, either in + * top-bottom or bottom-top order. If slices are provided in + * non-sequential order the behavior of the function is undefined. + * * @param link the output link over which the frame is being sent * @param y offset in pixels from the top of the image for this slice * @param h height of this slice in pixels