aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-01-23 18:42:20 +0100
committerAnton Khirnov <anton@khirnov.net>2024-01-30 09:52:00 +0100
commit097f9ddbe94039b3c6f888560e24cc1753fec3f3 (patch)
tree6da7207f4b752330fe8f6e378a5ece9b1e74daab /fftools/ffmpeg.h
parent9ba4bc87e6c02a7dfe710534c536d17684cc6c02 (diff)
downloadffmpeg-097f9ddbe94039b3c6f888560e24cc1753fec3f3.tar.gz
fftools/ffmpeg_dec: pass decoder name through DecoderOpts
Do not build it from InputStream values. This is a step towards decoupling Decoder and InputStream.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 9add5cac85..bdfacf16b7 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -295,6 +295,8 @@ enum DecoderFlags {
typedef struct DecoderOpts {
int flags;
+ char *name;
+
/* hwaccel options */
enum HWAccelID hwaccel_id;
enum AVHWDeviceType hwaccel_device_type;