[FFmpeg-devel] [PATCH 18/20] fftools/ffmpeg_opt: fix -dn flags
Anton Khirnov
anton at khirnov.net
Mon Dec 18 11:57:20 EET 2023
It's a data, not video option.
---
fftools/ffmpeg_opt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 87357e8b64..d6de997af8 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -1955,7 +1955,7 @@ const OptionDef options[] = {
{ .func_arg = opt_data_codec },
"force data codec ('copy' to copy stream)", "codec",
.u1.name_canon = "codec", },
- { "dn", OPT_TYPE_BOOL, OPT_VIDEO | OPT_OFFSET | OPT_INPUT | OPT_OUTPUT,
+ { "dn", OPT_TYPE_BOOL, OPT_DATA | OPT_OFFSET | OPT_INPUT | OPT_OUTPUT,
{ .off = OFFSET(data_disable) }, "disable data" },
#if CONFIG_VAAPI
--
2.42.0
More information about the ffmpeg-devel
mailing list