diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-10-23 11:22:33 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-25 16:30:00 +0200 |
commit | 3d813e4c548c99368876f985a324eac689385311 (patch) | |
tree | 08303e446dc1f600e4bb195329780a05f344cdf3 /libavformat/avformat.h | |
parent | 1b648c7cdbee335c642bd2c05fe624fc195b85e6 (diff) | |
download | ffmpeg-3d813e4c548c99368876f985a324eac689385311.tar.gz |
lavf: deprecate AVStream.stream_copy
It's only used in avconv, so it properly belongs to OutputStream struct
there.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 74c7140e35..1b67ee6bc2 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -530,8 +530,10 @@ typedef struct AVStream { */ AVRational time_base; int pts_wrap_bits; /**< number of bits in pts (used for wrapping control) */ +#if FF_API_STREAM_COPY /* ffmpeg.c private use */ - int stream_copy; /**< If set, just copy stream. */ + attribute_deprecated int stream_copy; /**< If set, just copy stream. */ +#endif enum AVDiscard discard; ///< Selects which packets can be discarded at will and do not need to be demuxed. #if FF_API_AVSTREAM_QUALITY |