Unified · Split
| @@ -38,7 +38,6 @@ · 37 unmodified lines | ||
| 38 | 38 | */ |
| 39 | 39 | |
| 40 | 40 | #define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 61) |
| 41 | −#define FF_API_VT_OUTPUT_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 61) | |
| 42 | 41 | #define FF_API_AVCODEC_CHROMA_POS (LIBAVCODEC_VERSION_MAJOR < 61) |
| 43 | 42 | #define FF_API_VT_HWACCEL_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 61) |
| 44 | 43 | #define FF_API_AVCTX_FRAME_NUMBER (LIBAVCODEC_VERSION_MAJOR < 61) |
| @@ -60,15 +60,6 @@ typedef struct AVVideotoolboxContext { · 59 unmodified lines | ||
| 60 | 60 | */ |
| 61 | 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 | 64 | * CVPixelBuffer Format Type that Videotoolbox will use for decoded frames. |
| 74 | 65 | * set by the caller. If this is set to 0, then no specific format is |