summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-03 15:27:17 +0200
committerwm4 <wm4@nowhere>2014-05-03 15:27:17 +0200
commitc9ed70b66611d1c0e56a67a0a9bf385d7996f0f5 (patch)
tree10af65290d53cd4bc82c000e55cd842ab09aad16 /player
parentbc07c86da56d02cb36f7271d233d69cce5bb7113 (diff)
downloadmpv-c9ed70b66611d1c0e56a67a0a9bf385d7996f0f5.tar.bz2
mpv-c9ed70b66611d1c0e56a67a0a9bf385d7996f0f5.tar.xz
video: rename a variable
Cosmetic change, reduce the diff of the following commit.
Diffstat (limited to 'player')
-rw-r--r--player/playloop.c4
1 files 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