[FFmpeg-cvslog] fftools/ffmpeg_opt: fix -dn flags

Anton Khirnov git at videolan.org
Fri Dec 22 12:44:25 EET 2023


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Dec 18 10:24:45 2023 +0100| [8d8c2b410fd5cdc51428c5e8d473f78b193a0b6c] | committer: Anton Khirnov

fftools/ffmpeg_opt: fix -dn flags

It's a data, not video option.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d8c2b410fd5cdc51428c5e8d473f78b193a0b6c
---

 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 465e25d7a8..2eba1f22cb 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -1958,7 +1958,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



More information about the ffmpeg-cvslog mailing list