mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec: remove deprecated FF_API_VT_OUTPUT_CALLBACK
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
9ee59b63f5
commit
f00f70c8f1
|
@ -38,7 +38,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 61)
|
#define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 61)
|
||||||
#define FF_API_VT_OUTPUT_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 61)
|
|
||||||
#define FF_API_AVCODEC_CHROMA_POS (LIBAVCODEC_VERSION_MAJOR < 61)
|
#define FF_API_AVCODEC_CHROMA_POS (LIBAVCODEC_VERSION_MAJOR < 61)
|
||||||
#define FF_API_VT_HWACCEL_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 61)
|
#define FF_API_VT_HWACCEL_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 61)
|
||||||
#define FF_API_AVCTX_FRAME_NUMBER (LIBAVCODEC_VERSION_MAJOR < 61)
|
#define FF_API_AVCTX_FRAME_NUMBER (LIBAVCODEC_VERSION_MAJOR < 61)
|
||||||
|
|
|
@ -60,15 +60,6 @@ typedef struct AVVideotoolboxContext {
|
||||||
*/
|
*/
|
||||||
VTDecompressionSessionRef session;
|
VTDecompressionSessionRef session;
|
||||||
|
|
||||||
#if FF_API_VT_OUTPUT_CALLBACK
|
|
||||||
/**
|
|
||||||
* The output callback that must be passed to the session.
|
|
||||||
* Set by av_videottoolbox_default_init()
|
|
||||||
*/
|
|
||||||
attribute_deprecated
|
|
||||||
VTDecompressionOutputCallback output_callback;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CVPixelBuffer Format Type that Videotoolbox will use for decoded frames.
|
* CVPixelBuffer Format Type that Videotoolbox will use for decoded frames.
|
||||||
* set by the caller. If this is set to 0, then no specific format is
|
* set by the caller. If this is set to 0, then no specific format is
|
||||||
|
|
Loading…
Reference in New Issue