summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-04 23:38:00 +0100
committerwm4 <wm4@nowhere>2015-02-04 23:38:00 +0100
commitc5f1391ebbd6d947324aa59ab0ba5240bcbcefea (patch)
treec79beff04f7626b21db9467c2f558497471c1171
parent23fd114299591b7a5d358627e0540a9c44bd5991 (diff)
downloadmpv-c5f1391ebbd6d947324aa59ab0ba5240bcbcefea.tar.bz2
mpv-c5f1391ebbd6d947324aa59ab0ba5240bcbcefea.tar.xz
vo_vdpau: remove unneeded code
This is already done in the common vo.c code.
-rw-r--r--video/out/vo_vdpau.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c
index 528756c05f..8a9802ca12 100644
--- a/video/out/vo_vdpau.c
+++ b/video/out/vo_vdpau.c
@@ -1009,10 +1009,6 @@ static int control(struct vo *vo, uint32_t request, void *data)
check_preemption(vo);
switch (request) {
- case VOCTRL_PAUSE:
- if (vc->dropped_frame)
- vo->want_redraw = true;
- return true;
case VOCTRL_GET_HWDEC_INFO: {
struct mp_hwdec_info **arg = data;
*arg = &vc->hwdec_info;