Commit d0a79339 authored by Michael Niedermayer's avatar Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e914a21a
...@@ -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 "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment