[FFmpeg-cvslog] lavfi: drop planar/packed negotiation support

Nicolas George nicolas.george at normalesup.org
Fri May 18 00:49:54 CEST 2012


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.

(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.)

Regards,

-- 
  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-cvslog/attachments/20120518/a91bb42f/attachment.asc>


More information about the ffmpeg-cvslog mailing list