Browse Source

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>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
d0a7933991
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      ffmpeg_opt.c

+ 4
- 0
ffmpeg_opt.c View File

@@ -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 "


Loading…
Cancel
Save