Revision 8a9d72a0

View differences:

ffplay.c
1039 1039
                /* skip or repeat frame. We take into account the
1040 1040
                   delay to compute the threshold. I still don't know
1041 1041
                   if it is the best guess */
1042
                sync_threshold = AV_SYNC_THRESHOLD;
1043
                if (delay > sync_threshold)
1044
                    sync_threshold = delay;
1042
                sync_threshold = FFMAX(AV_SYNC_THRESHOLD, delay);
1045 1043
                if (fabs(diff) < AV_NOSYNC_THRESHOLD) {
1046 1044
                    if (diff <= -sync_threshold)
1047 1045
                        delay = 0;

Also available in: Unified diff