Revision df7d6e48

View differences:

ffplay.c
1376 1376
                                    pkt);
1377 1377

  
1378 1378
        if (got_picture) {
1379
        if(pkt->dts != AV_NOPTS_VALUE){
1380
            is->faulty_dts += pkt->dts <= is->last_dts_for_fault_detection;
1381
            is->last_dts_for_fault_detection= pkt->dts;
1382
        }
1383
        if(frame->reordered_opaque != AV_NOPTS_VALUE){
1384
            is->faulty_pts += frame->reordered_opaque <= is->last_pts_for_fault_detection;
1385
            is->last_pts_for_fault_detection= frame->reordered_opaque;
1386
        }
1379
            if(pkt->dts != AV_NOPTS_VALUE){
1380
                is->faulty_dts += pkt->dts <= is->last_dts_for_fault_detection;
1381
                is->last_dts_for_fault_detection= pkt->dts;
1382
            }
1383
            if(frame->reordered_opaque != AV_NOPTS_VALUE){
1384
                is->faulty_pts += frame->reordered_opaque <= is->last_pts_for_fault_detection;
1385
                is->last_pts_for_fault_detection= frame->reordered_opaque;
1386
            }
1387 1387
        }
1388 1388

  
1389 1389
        if(   (   decoder_reorder_pts==1

Also available in: Unified diff