Revision 6b474953 ffplay.c

View differences:

ffplay.c
1576 1576

  
1577 1577
    if (got_picture) {
1578 1578
        if (decoder_reorder_pts == -1) {
1579
            *pts = guess_correct_pts(&is->pts_ctx, frame->pkt_pts, pkt->dts);
1579
            *pts = guess_correct_pts(&is->pts_ctx, frame->pkt_pts, frame->pkt_dts);
1580 1580
        } else if (decoder_reorder_pts) {
1581 1581
            *pts = frame->pkt_pts;
1582 1582
        } else {
1583
            *pts = pkt->dts;
1583
            *pts = frame->pkt_dts;
1584 1584
        }
1585 1585

  
1586 1586
        if (*pts == AV_NOPTS_VALUE) {

Also available in: Unified diff