Revision 1e1a0b18 ffplay.c

View differences:

ffplay.c
195 195
static int wanted_subtitle_stream= -1;
196 196
static int seek_by_bytes;
197 197
static int display_disable;
198
static int show_status;
198
static int show_status = 1;
199 199
static int av_sync_type = AV_SYNC_AUDIO_MASTER;
200 200
static int64_t start_time = AV_NOPTS_VALUE;
201 201
static int debug = 0;
......
1138 1138
        double av_diff;
1139 1139

  
1140 1140
        cur_time = av_gettime();
1141
        if (!last_time || (cur_time - last_time) >= 500 * 1000) {
1141
        if (!last_time || (cur_time - last_time) >= 30000) {
1142 1142
            aqsize = 0;
1143 1143
            vqsize = 0;
1144 1144
            sqsize = 0;
......
2495 2495
    { "nodisp", OPT_BOOL, {(void*)&display_disable}, "disable graphical display" },
2496 2496
    { "f", HAS_ARG, {(void*)opt_format}, "force format", "fmt" },
2497 2497
    { "pix_fmt", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_frame_pix_fmt}, "set pixel format", "format" },
2498
    { "stats", OPT_BOOL | OPT_EXPERT, {(void*)&show_status}, "show status", "" },
2498
    { "stats", HAS_ARG | OPT_INT | OPT_EXPERT, {(void*)&show_status}, "show status", "" },
2499 2499
    { "debug", HAS_ARG | OPT_FUNC2 | OPT_EXPERT, {(void*)opt_debug}, "print specific debug info", "" },
2500 2500
    { "bug", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&workaround_bugs}, "workaround bugs", "" },
2501 2501
    { "vismv", HAS_ARG | OPT_FUNC2 | OPT_EXPERT, {(void*)opt_vismv}, "visualize motion vectors", "" },

Also available in: Unified diff