mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fftools/ffplay: drop an unused function argument
This commit is contained in:
parent
e6126abc69
commit
9141c0cfd8
@ -1553,7 +1553,8 @@ static double vp_duration(VideoState *is, Frame *vp, Frame *nextvp) {
|
||||
}
|
||||
}
|
||||
|
||||
static void update_video_pts(VideoState *is, double pts, int64_t pos, int serial) {
|
||||
static void update_video_pts(VideoState *is, double pts, int serial)
|
||||
{
|
||||
/* update current video pts */
|
||||
set_clock(&is->vidclk, pts, serial);
|
||||
sync_clock_to_slave(&is->extclk, &is->vidclk);
|
||||
@ -1618,7 +1619,7 @@ retry:
|
||||
|
||||
SDL_LockMutex(is->pictq.mutex);
|
||||
if (!isnan(vp->pts))
|
||||
update_video_pts(is, vp->pts, vp->pos, vp->serial);
|
||||
update_video_pts(is, vp->pts, vp->serial);
|
||||
SDL_UnlockMutex(is->pictq.mutex);
|
||||
|
||||
if (frame_queue_nb_remaining(&is->pictq) > 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user