summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorrcombs <rcombs@rcombs.me>2021-11-13 15:39:44 -0600
committerrcombs <rcombs@rcombs.me>2021-11-28 16:40:43 -0600
commit4b54818981d2783af161c2ff670b658afbdda503 (patch)
tree2316a8467fd2955cfee03b4c3975dba9c5931c78 /fftools/ffmpeg.h
parent5593f5cf242a99495b6047e5c226bfe4b934342e (diff)
ffmpeg: remove ffmpeg_videotoolbox
This was almost completely redundant. The only functionality that's no longer available after this removal is the videotoolbox_pixfmt arg, which has been obsolete for several years.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 1728010f56..21c63415d6 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -60,16 +60,8 @@ enum HWAccelID {
HWACCEL_NONE = 0,
HWACCEL_AUTO,
HWACCEL_GENERIC,
- HWACCEL_VIDEOTOOLBOX,
};
-typedef struct HWAccel {
- const char *name;
- int (*init)(AVCodecContext *s);
- enum HWAccelID id;
- enum AVPixelFormat pix_fmt;
-} HWAccel;
-
typedef struct HWDevice {
const char *name;
enum AVHWDeviceType type;
@@ -626,7 +618,6 @@ extern int stdin_interaction;
extern int frame_bits_per_raw_sample;
extern AVIOContext *progress_avio;
extern float max_error_rate;
-extern char *videotoolbox_pixfmt;
extern char *filter_nbthreads;
extern int filter_complex_nbthreads;
@@ -636,7 +627,6 @@ extern int auto_conversion_filters;
extern const AVIOInterruptCB int_cb;
extern const OptionDef options[];
-extern const HWAccel hwaccels[];
#if CONFIG_QSV
extern char *qsv_device;
#endif