diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:14:14 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:14:14 +0000 |
commit | b3ab2f7e8485a94d446ec4e91b4f5162d699e35f (patch) | |
tree | 6b91ad345041efa0e8988e20eb2b1c6d337b54cc /libavfilter | |
parent | 056f0431f3a5004519be6064c82a06eb8afbcbc3 (diff) | |
download | ffmpeg-streaming-b3ab2f7e8485a94d446ec4e91b4f5162d699e35f.zip ffmpeg-streaming-b3ab2f7e8485a94d446ec4e91b4f5162d699e35f.tar.gz |
Add another "reuse" permission, to distinguish between the case where a
source filter will simply want to re-output the same image multiple times
and reuse a buffer to do it, and the case where the source filter will
output multiple image by modifying a single buffer and outputting it multiple
times.
Commited in SoC by Bobby Bingham on 2007-08-18 02:21:01
Originally committed as revision 12103 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 5538a0a..27fb22b 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -78,7 +78,8 @@ typedef struct AVFilterPicRef #define AV_PERM_READ 0x01 ///< can read from the buffer #define AV_PERM_WRITE 0x02 ///< can write to the buffer #define AV_PERM_PRESERVE 0x04 ///< nobody else can overwrite the buffer -#define AV_PERM_REUSE 0x08 ///< can output the buffer multiple times +#define AV_PERM_REUSE 0x08 ///< can output the buffer multiple times, with the same contents each time +#define AV_PERM_REUSE2 0x10 ///< can output the buffer multiple times, modified each time } AVFilterPicRef; /** |