[FFmpeg-devel] [PATCH] lavfi: add init2 callback

Nicolas George nicolas.george at normalesup.org
Sun Jul 8 16:52:48 CEST 2012

Le nonidi 19 messidor, an CCXX, Stefano Sabatini a écrit :
> Honestly I'd find this more hackish/less usable.

I completely agree it is more hackish, but it has one huge advantage: it
does not show in the public interface.

> I propose to keep my hack, and then deprecate the init_opaque
> interface when we'll have a better solution, for the moment I prefer
> the lazy minimum-effort solution which works and seems not too
> occlusive and allows easy backward compatibility. 

I believe my hack abusing the function call conventions is more lazy minimum
effort than yours, see attached patch.

But please go ahead with whatever solution you prefer. Just be sure, if you
decide to change something in the headers, to clearly state that we may
remove it at any time without notice.


  Nicolas George
-------------- 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/20120708/d3c8172d/attachment.asc>

More information about the ffmpeg-devel mailing list