Skip to content
Snippets Groups Projects
Commit d0a79339 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

ffmpeg_opt: do not warn about unused gop_timecode


The option is injected by generic code and being sometimes unused is normal.

Fixes Ticket2762

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent e914a21a
No related branches found
No related tags found
No related merge requests found
...@@ -1855,6 +1855,10 @@ loop_end: ...@@ -1855,6 +1855,10 @@ loop_end:
exit_program(1); exit_program(1);
} }
// gop_timecode is injected by generic code but not always used
if (!strcmp(e->key, "gop_timecode"))
continue;
av_log(NULL, AV_LOG_WARNING, "Codec AVOption %s (%s) specified for " av_log(NULL, AV_LOG_WARNING, "Codec AVOption %s (%s) specified for "
"output file #%d (%s) has not been used for any stream. The most " "output file #%d (%s) has not been used for any stream. The most "
"likely reason is either wrong type (e.g. a video option with " "likely reason is either wrong type (e.g. a video option with "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment