[FFmpeg-cvslog] lavfi: drop planar/packed negotiation support
Stefano Sabatini
stefasab at gmail.com
Fri May 18 12:11:44 CEST 2012
On date Friday 2012-05-18 00:49:54 +0200, Nicolas George wrote:
> L'octidi 28 floréal, an CCXX, Stefano Sabatini a écrit :
> > @@ -655,7 +663,9 @@ struct AVFilterLink {
> > #else
> > int sample_rate; ///< samples per second
> > #endif
> > +#if FF_API_PACKING
> > int planar; ///< agreed upon packing mode of audio buffers. true if planar.
> > +#endif
> >
> > int format; ///< agreed upon media format
>
> Problem: if FF_API_PACKING, we break ABI with libav, since the "format" and
> subsequent field are shifted; if not FF_API_PACKING, we break ABI with
> previous versions.
>
> Either way is bad, but I am not sure that keeping the situation until the
> next major bump is the best solution.
API/ABI with previous versions is already broken, so maybe it's better
to keep compatibility with Libav and remove the FF_API_PACKING stuff
already.
> (I was trying to reconcile buffersrc.c and src_buffer.c, and for that,
> trying to get avconv to work with dynamic libraries from ffmpeg. This issue
> causes a failure.)
--
FFmpeg = Free Fanciful Merciless Ponderous Educated Game
More information about the ffmpeg-cvslog
mailing list