[FFmpeg-devel] [PATCH] Make avfilter_get_video_buffer() use default_get_video_buffer if callback not defined

Stefano Sabatini stefano.sabatini-lala
Mon Nov 2 21:57:08 CET 2009

Hi, as recently suggested by Michael after my vf_null.c commit.

Rationale is that this should simplify the life to lavfi filters
authors, since they have to explicitely define the get_video_buffer()
callback if they want the buffer to be requested to the filter following
in the filterchain.

This avoids unexpected behaviors if the author doesn't think hard
about picref allocation, especially when the filter has more than one
output pad.

If OK I'll apply the patch splitted, one for each of the modified
filters and one for avfilter.{h,c}.

FFmpeg = Faboulous and Furious Miracolous Practical Erratic Game
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lavfi-change-get-video-buffer.patch
Type: text/x-diff
Size: 3542 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091102/5fd8c13a/attachment.patch>

More information about the ffmpeg-devel mailing list