Revision 6387c3e6 ffplay.c

View differences:

ffplay.c
169 169
static int debug_mv = 0;
170 170
static int step = 0;
171 171
static int thread_count = 1;
172
static int workaround_bugs = 1;
172 173

  
173 174
/* current context */
174 175
static int is_full_screen;
......
1169 1170
    codec = avcodec_find_decoder(enc->codec_id);
1170 1171
    enc->debug_mv = debug_mv;
1171 1172
    enc->debug = debug;
1173
    enc->workaround_bugs = workaround_bugs;
1172 1174
    if (!codec ||
1173 1175
        avcodec_open(enc, codec) < 0)
1174 1176
        return -1;
......
1824 1826
    { "img", HAS_ARG, {(void*)opt_image_format}, "force image format", "img_fmt" },
1825 1827
    { "stats", OPT_BOOL | OPT_EXPERT, {(void*)&show_status}, "show status", "" },
1826 1828
    { "debug", HAS_ARG | OPT_EXPERT, {(void*)opt_debug}, "print specific debug info", "" },
1829
    { "bug", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&workaround_bugs}, "workaround bugs", "" },
1827 1830
    { "vismv", HAS_ARG | OPT_EXPERT, {(void*)opt_vismv}, "visualize motion vectors", "" },
1828 1831
#ifdef CONFIG_NETWORK
1829 1832
    { "rtp_tcp", OPT_EXPERT, {(void*)&opt_rtp_tcp}, "force RTP/TCP protocol usage", "" },

Also available in: Unified diff