[FFmpeg-devel] [PATCH] lavfi: unify asink_buffer and vsink_buffer API
Michael Niedermayer
michaelni at gmx.at
Wed Aug 31 04:51:34 CEST 2011
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?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110831/d88aa55e/attachment.asc>
More information about the ffmpeg-devel
mailing list