lavc: mark hurry_up for removal on next major bump

It has been deprecated for about five years, skip_idct/skip_frame should
be used instead.
This commit is contained in:
Anton Khirnov
2011-04-02 11:56:21 +02:00
parent 9073ca6c6e
commit 8ed2ae09a2
14 changed files with 61 additions and 10 deletions

View File

@@ -1320,13 +1320,15 @@ typedef struct AVCodecContext {
int b_frame_strategy;
#if FF_API_HURRY_UP
/**
* hurry up amount
* - encoding: unused
* - decoding: Set by user. 1-> Skip B-frames, 2-> Skip IDCT/dequant too, 5-> Skip everything except header
* @deprecated Deprecated in favor of skip_idct and skip_frame.
*/
int hurry_up;
attribute_deprecated int hurry_up;
#endif
struct AVCodec *codec;