[FFmpeg-devel] [PATCH] lavfi: add showspectrum filter.

Nicolas George nicolas.george at normalesup.org
Sat Aug 11 12:14:05 CEST 2012

Le quintidi 25 thermidor, an CCXX, Stefano Sabatini a écrit :
> #define AV_PERM_REUSE2   0x10   ///< can output the buffer multiple times, modified each time
> It won't make any difference since no allocator currently supports
> REUSE2, but that may help in the future.

There is still a lot of ambiguity about that permissions business, as shown
by the recent thread between Michael and me. Currently, most filters (except
the very buggy ones) use PERM_PRESERVE inconsistently with the
documentation, and in a way that makes it redundant with PERM_WRITE (or more
exactly equivalent to !PERM_WRITE). OTOH, if PERM_PRESERVE were used
consistently with the docs, it looks like PERM_REUSE2 would become

I would really like you to comment on this before starting to make patches
to clean things up.


  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/20120811/808aee9a/attachment.asc>

More information about the ffmpeg-devel mailing list