From c9ed70b66611d1c0e56a67a0a9bf385d7996f0f5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 3 May 2014 15:27:17 +0200 Subject: video: rename a variable Cosmetic change, reduce the diff of the following commit. --- player/playloop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/player/playloop.c b/player/playloop.c index 1ab9b9abea..b97438400f 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -1128,8 +1128,8 @@ void run_playloop(struct MPContext *mpctx) // Make up a frame duration. Using the frame rate is not a good // choice, since the frame rate could be unset/broken/random. float fps = mpctx->d_video->fps; - double frame_time = fps > 0 ? 1.0 / fps : 0; - pts2 = mpctx->video_pts + frame_time; + double frame_duration = fps > 0 ? 1.0 / fps : 0; + pts2 = mpctx->video_pts + frame_duration; } if (pts2 != MP_NOPTS_VALUE) { // expected A/V sync correction is ignored -- cgit v1.2.3