summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-06-18 09:47:46 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-08 18:39:56 +0200
commitd31e3f7ccc5d1e198b3a582f4413ce7342928d8c (patch)
tree243e8842f8abbb9826361a96b676056329f8b9d5 /libavformat/avformat.h
parent6002fdef5eba7ecc623092583d5bb051c8a27318 (diff)
gif: add loop private option.
Deprecate AVFormatContext.loop_output.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 1be9f39646..2cdf11be12 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -723,12 +723,16 @@ typedef struct AVFormatContext {
int preload;
int max_delay;
+#if FF_API_LOOP_OUTPUT
#define AVFMT_NOOUTPUTLOOP -1
#define AVFMT_INFINITEOUTPUTLOOP 0
/**
* number of times to loop output in formats that support it
+ *
+ * @deprecated use the 'loop' private option in the gif muxer.
*/
- int loop_output;
+ attribute_deprecated int loop_output;
+#endif
int flags;
#define AVFMT_FLAG_GENPTS 0x0001 ///< Generate missing pts even if it requires parsing future frames.