It is supported as a codec option, and those are already parsed.
Signed-off-by: Marton Balint <cus@passwd.hu>
... | ... |
@@ -109,8 +109,6 @@ duration, the codec parameters, the current position in the stream and |
109 | 109 |
the audio/video synchronisation drift. It is on by default, to |
110 | 110 |
explicitly disable it you need to specify @code{-nostats}. |
111 | 111 |
|
112 |
-@item -bug |
|
113 |
-Work around bugs. |
|
114 | 112 |
@item -fast |
115 | 113 |
Non-spec-compliant optimizations. |
116 | 114 |
@item -genpts |
... | ... |
@@ -325,7 +325,6 @@ static int show_status = 1; |
325 | 325 |
static int av_sync_type = AV_SYNC_AUDIO_MASTER; |
326 | 326 |
static int64_t start_time = AV_NOPTS_VALUE; |
327 | 327 |
static int64_t duration = AV_NOPTS_VALUE; |
328 |
-static int workaround_bugs = 1; |
|
329 | 328 |
static int fast = 0; |
330 | 329 |
static int genpts = 0; |
331 | 330 |
static int lowres = 0; |
... | ... |
@@ -2632,7 +2631,6 @@ static int stream_component_open(VideoState *is, int stream_index) |
2632 | 2632 |
} |
2633 | 2633 |
|
2634 | 2634 |
avctx->codec_id = codec->id; |
2635 |
- avctx->workaround_bugs = workaround_bugs; |
|
2636 | 2635 |
if(stream_lowres > av_codec_get_max_lowres(codec)){ |
2637 | 2636 |
av_log(avctx, AV_LOG_WARNING, "The maximum value for lowres supported by the decoder is %d\n", |
2638 | 2637 |
av_codec_get_max_lowres(codec)); |
... | ... |
@@ -3643,7 +3641,6 @@ static const OptionDef options[] = { |
3643 | 3643 |
{ "f", HAS_ARG, { .func_arg = opt_format }, "force format", "fmt" }, |
3644 | 3644 |
{ "pix_fmt", HAS_ARG | OPT_EXPERT | OPT_VIDEO, { .func_arg = opt_frame_pix_fmt }, "set pixel format", "format" }, |
3645 | 3645 |
{ "stats", OPT_BOOL | OPT_EXPERT, { &show_status }, "show status", "" }, |
3646 |
- { "bug", OPT_INT | HAS_ARG | OPT_EXPERT, { &workaround_bugs }, "workaround bugs", "" }, |
|
3647 | 3646 |
{ "fast", OPT_BOOL | OPT_EXPERT, { &fast }, "non spec compliant optimizations", "" }, |
3648 | 3647 |
{ "genpts", OPT_BOOL | OPT_EXPERT, { &genpts }, "generate pts", "" }, |
3649 | 3648 |
{ "drp", OPT_INT | HAS_ARG | OPT_EXPERT, { &decoder_reorder_pts }, "let decoder reorder pts 0=off 1=on -1=auto", ""}, |