[FFmpeg-devel] [PATCH] lavfi: unify asink_buffer and vsink_buffer API
Stefano Sabatini
stefano.sabatini-lala at poste.it
Wed Aug 31 17:50:00 CEST 2011
On date Wednesday 2011-08-31 04:51:34 +0200, Michael Niedermayer encoded:
> On Mon, Aug 29, 2011 at 05:10:29PM +0200, Stefano Sabatini wrote:
> [...]
> > + buffersink_params->pixel_fmts = pix_fmts;
> >
> > ost->graph = avfilter_graph_alloc();
> >
> > @@ -366,7 +368,8 @@ static int configure_video_filters(InputStream *ist, OutputStream *ost)
> > if (ret < 0)
> > return ret;
> > ret = avfilter_graph_create_filter(&ost->output_video_filter, avfilter_get_by_name("buffersink"),
> > - "out", NULL, pix_fmts, ost->graph);
> > + "out", NULL, buffersink_params, ost->graph);
>
> these functions are quite similar.
> A compatibility layer should be quite easy, or am i missing something?
Updated.
--
FFmpeg = Fanciful and Fascinating Meaningful Philosophical Esoteric Gadget
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavfi-unify-asink_buffer-and-vsink_buffer-API.patch
Type: text/x-diff
Size: 28189 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110831/734e36f0/attachment.bin>
More information about the ffmpeg-devel
mailing list