diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-13 23:45:24 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-01-21 15:33:19 -0500 |
commit | d749615333084e62c9fcc480d1ae466369fdf14f (patch) | |
tree | 138289453dccd27de000c2f27622148245f8eb83 /libavcodec/avcodec.h | |
parent | 96c373c7704aeb1cc1d2c275fbb5d71777665589 (diff) | |
download | ffmpeg-d749615333084e62c9fcc480d1ae466369fdf14f.tar.gz |
lavc: Move timecode_frame_start to codec private options
This option is only used by mpeg2.
It is a very codec-specific option, so deprecate the global variant.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 695f5349d7..ca7cfa688f 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2398,12 +2398,11 @@ typedef struct AVCodecContext { */ int max_prediction_order; - /** - * GOP timecode frame start number, in non drop frame format - * - encoding: Set by user. - * - decoding: unused - */ +#if FF_API_PRIVATE_OPT + /** @deprecated use encoder private options instead */ + attribute_deprecated int64_t timecode_frame_start; +#endif #if FF_API_RTP_CALLBACK /** |