summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-30 21:18:30 +0100
committerwm4 <wm4@nowhere>2015-01-30 21:18:30 +0100
commite123c1dfcd8dd39565fc08c3db67b935c8fcf0f2 (patch)
tree31819d284d6defea3e524139a8d96f7895e505d8 /player/main.c
parent9d57e7d23cff215076f24c4c25ce48e9c8e5f3d4 (diff)
downloadmpv-e123c1dfcd8dd39565fc08c3db67b935c8fcf0f2.tar.bz2
mpv-e123c1dfcd8dd39565fc08c3db67b935c8fcf0f2.tar.xz
player: rearrange some A/V-sync related code
Move the update_avsync_before_frame() call further down. Moving it closer to where the time_frame value is used (and which the function updates) should make the code more readable. With this change, there's no need anymore to reset the time_frame value on the video reconfig path. Move the update_avsync_after_frame() up. Now no meaningful amount of time passes since the previous get_relative_time() call anymore, and the second one can be removed.
Diffstat (limited to 'player/main.c')
0 files changed, 0 insertions, 0 deletions