ffprobe: fix if macro

This commit is contained in:
gnattu
2024-09-20 15:59:22 +08:00
parent 44cd30baef
commit 22afaab725
+2 -2
View File
@@ -365,7 +365,7 @@ Index: FFmpeg/fftools/ffprobe.c
#include "opt_common.h"
#include "libavutil/thread.h"
+#ifdef CONFIG_VIDEOTOOLBOX
+#if CONFIG_VIDEOTOOLBOX
+ #include "opt_vtinfo.h"
+#endif
@@ -375,7 +375,7 @@ Index: FFmpeg/fftools/ffprobe.c
{ "print_filename", OPT_TYPE_FUNC, OPT_FUNC_ARG, {.func_arg = opt_print_filename}, "override the printed input filename", "print_file"},
{ "find_stream_info", OPT_TYPE_BOOL, OPT_INPUT | OPT_EXPERT, { &find_stream_info },
"read and decode the streams to fill missing information with heuristics" },
+#ifdef CONFIG_VIDEOTOOLBOX
+#if CONFIG_VIDEOTOOLBOX
+ { "show_vt_info", OPT_TYPE_FUNC, OPT_EXIT, { .func_arg = show_vt_info }, "show VideoToolbox info" },
+#endif
{ NULL, },