gif: add loop private option.

Deprecate AVFormatContext.loop_output.
This commit is contained in:
Anton Khirnov
2011-06-18 09:47:46 +02:00
parent 6002fdef5e
commit d31e3f7ccc
3 changed files with 34 additions and 4 deletions

View File

@@ -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.