mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 05:22:23 +00:00
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);
|
check_preemption(vo);
|
||||||
|
|
||||||
switch (request) {
|
switch (request) {
|
||||||
case VOCTRL_PAUSE:
|
|
||||||
if (vc->dropped_frame)
|
|
||||||
vo->want_redraw = true;
|
|
||||||
return true;
|
|
||||||
case VOCTRL_GET_HWDEC_INFO: {
|
case VOCTRL_GET_HWDEC_INFO: {
|
||||||
struct mp_hwdec_info **arg = data;
|
struct mp_hwdec_info **arg = data;
|
||||||
*arg = &vc->hwdec_info;
|
*arg = &vc->hwdec_info;
|
||||||
|
Loading…
Reference in New Issue
Block a user