History

avcodec: remove deprecated FF_API_VT_OUTPUT_CALLBACK

James Almer committed 2 years ago

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

Showing the changes to libavcodec (2 of 2 files). Show all

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
3838 */
3939
4040 #define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 61)
41−#define FF_API_VT_OUTPUT_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 61)
4241 #define FF_API_AVCODEC_CHROMA_POS (LIBAVCODEC_VERSION_MAJOR < 61)
4342 #define FF_API_VT_HWACCEL_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 61)
4443 #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
6060 */
6161 VTDecompressionSessionRef session;
6262
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−
7263 /**
7364 * CVPixelBuffer Format Type that Videotoolbox will use for decoded frames.
7465 * 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