History

avcodec: remove deprecated FF_API_VT_OUTPUT_CALLBACK

James Almer committed 2 years ago

Commit f00f70c1 parent 9ee59b62 files · +0 −10Browse files

Unified · Split

2 files
  1. libavcodec/version_major.h +0 −1
  2. libavcodec/videotoolbox.h +0 −9
libavcodec/version_major.h+0−1
@@ -38,7 +38,6 @@ · 37 unmodified lines
38 */38 */
39 39
40#define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 61)40#define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 61)
41#define FF_API_VT_OUTPUT_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 61)
42#define FF_API_AVCODEC_CHROMA_POS (LIBAVCODEC_VERSION_MAJOR < 61)41#define FF_API_AVCODEC_CHROMA_POS (LIBAVCODEC_VERSION_MAJOR < 61)
43#define FF_API_VT_HWACCEL_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 61)42#define FF_API_VT_HWACCEL_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 61)
44#define FF_API_AVCTX_FRAME_NUMBER (LIBAVCODEC_VERSION_MAJOR < 61)43#define FF_API_AVCTX_FRAME_NUMBER (LIBAVCODEC_VERSION_MAJOR < 61)
libavcodec/videotoolbox.h+0−9
@@ -60,15 +60,6 @@ typedef struct AVVideotoolboxContext { · 59 unmodified lines
60 */60 */
61 VTDecompressionSessionRef session;61 VTDecompressionSessionRef session;
62 62
63#if FF_API_VT_OUTPUT_CALLBACK
64 /**
65 * The output callback that must be passed to the session.
66 * Set by av_videottoolbox_default_init()
67 */
68 attribute_deprecated
69 VTDecompressionOutputCallback output_callback;
70#endif
71
72 /**63 /**
73 * CVPixelBuffer Format Type that Videotoolbox will use for decoded frames.64 * CVPixelBuffer Format Type that Videotoolbox will use for decoded frames.
74 * set by the caller. If this is set to 0, then no specific format is65 * set by the caller. If this is set to 0, then no specific format is

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t