Skip to content

Commit 21ef59c

Browse files
committed
video frame count can't munus
1 parent 4432edf commit 21ef59c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

FFmpegTutorial/t35/FFTPlayer0x35.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,14 +650,12 @@ - (void)video_refresh:(double *)remaining_time
650650
if (vp.pts + duration < master_time) {
651651
[_videoClk setClock:vp.pts];
652652
[_videoFrameQueue pop];
653-
self.videoFrameCount--;
654653
} else {
655654
break;
656655
}
657656
}
658657
} else {
659658
[_videoFrameQueue pop];
660-
self.videoFrameCount--;
661659
*remaining_time = 0.04;
662660
}
663661
double diff = [_audioClk getClock] - [_videoClk getClock];

FFmpegTutorial/t36/FFTPlayer0x36.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,14 +631,12 @@ - (void)video_refresh:(double *)remaining_time
631631
if (vp.pts + duration < master_time) {
632632
[_videoClk setClock:vp.pts];
633633
[_videoFrameQueue pop];
634-
self.videoFrameCount--;
635634
} else {
636635
break;
637636
}
638637
}
639638
} else {
640639
[_videoFrameQueue pop];
641-
self.videoFrameCount--;
642640
*remaining_time = 0.04;
643641
}
644642
double diff = [_audioClk getClock] - [_videoClk getClock];

0 commit comments

Comments
 (0)