diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-07-09 10:54:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-09 10:54:40 +0200 |
commit | d0a79339916b7a299c582de87d0e6555ffdf5ec4 (patch) | |
tree | 74b2d3a33eff6c0779397cb2e120e6699ea3e5bf | |
parent | e914a21ada123c37086057ade35619c1df41cb9a (diff) | |
download | ffmpeg-d0a79339916b7a299c582de87d0e6555ffdf5ec4.tar.gz |
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: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg_opt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 3ae2d61933..286f9736c5 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -1855,6 +1855,10 @@ loop_end: 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 " "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 " |