mirror of https://github.com/mpv-player/mpv
vo_vdpau: remove unneeded code
This is already done in the common vo.c code.
This commit is contained in:
parent
23fd114299
commit
c5f1391ebb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue