From 8dfe0c73c9293dbbbfae096e0fbd6e59ecbd3896 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 9 Aug 2014 00:35:25 +0200 Subject: 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. --- player/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/video.c') 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; -- cgit v1.2.3