summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-04-30 18:54:36 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-30 18:54:36 +0000
commit6387c3e6b66b9bfff7748892a71a45e68204823e (patch)
tree5e02843141baae56d366bf7a3b0fbc88c7a78897 /ffplay.c
parentd01dbeb800b382658683ad154127438473e19b14 (diff)
-bug
Originally committed as revision 3098 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 135b7823ca..9035c51ecb 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -169,6 +169,7 @@ static int debug = 0;
static int debug_mv = 0;
static int step = 0;
static int thread_count = 1;
+static int workaround_bugs = 1;
/* current context */
static int is_full_screen;
@@ -1169,6 +1170,7 @@ static int stream_component_open(VideoState *is, int stream_index)
codec = avcodec_find_decoder(enc->codec_id);
enc->debug_mv = debug_mv;
enc->debug = debug;
+ enc->workaround_bugs = workaround_bugs;
if (!codec ||
avcodec_open(enc, codec) < 0)
return -1;
@@ -1824,6 +1826,7 @@ const OptionDef options[] = {
{ "img", HAS_ARG, {(void*)opt_image_format}, "force image format", "img_fmt" },
{ "stats", OPT_BOOL | OPT_EXPERT, {(void*)&show_status}, "show status", "" },
{ "debug", HAS_ARG | OPT_EXPERT, {(void*)opt_debug}, "print specific debug info", "" },
+ { "bug", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&workaround_bugs}, "workaround bugs", "" },
{ "vismv", HAS_ARG | OPT_EXPERT, {(void*)opt_vismv}, "visualize motion vectors", "" },
#ifdef CONFIG_NETWORK
{ "rtp_tcp", OPT_EXPERT, {(void*)&opt_rtp_tcp}, "force RTP/TCP protocol usage", "" },