summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-09 00:35:25 +0200
committerwm4 <wm4@nowhere>2014-08-09 00:35:35 +0200
commit8dfe0c73c9293dbbbfae096e0fbd6e59ecbd3896 (patch)
treed6b1564e806304bf49f784a9bb5a4ed58200c672 /player
parent91be5e5c3163efe185fa4883887a60a0db16728b (diff)
downloadmpv-8dfe0c73c9293dbbbfae096e0fbd6e59ecbd3896.tar.bz2
mpv-8dfe0c73c9293dbbbfae096e0fbd6e59ecbd3896.tar.xz
video: remove "hard" framedrop mode
Completely useless, and could accidentally be enabled by cycling framedrop modes. Just get rid of it. But still allow triggering the old code with --vd-lavc-framedrop, in case someone asks for it. If nobody does, this new option will be removed eventually.
Diffstat (limited to 'player')
-rw-r--r--player/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c
index 21101f501a..538008302c 100644
--- a/player/video.c
+++ b/player/video.c
@@ -377,7 +377,7 @@ static int decode_image(struct MPContext *mpctx)
}
bool hrseek = mpctx->hrseek_active && mpctx->video_status == STATUS_SYNCING;
int framedrop_type = hrseek && mpctx->hrseek_framedrop ?
- 1 : check_framedrop(mpctx, -1);
+ 2 : check_framedrop(mpctx, -1);
d_video->waiting_decoded_mpi =
video_decode(d_video, pkt, framedrop_type);
bool had_packet = !!pkt;