diff options
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/player/command.c b/player/command.c index c8394c403c..7d143ea1f4 100644 --- a/player/command.c +++ b/player/command.c @@ -2185,8 +2185,6 @@ static int mp_property_hwdec_current(void *ctx, struct m_property *prop, case M_PROPERTY_GET: { int current = HWDEC_NONE; video_vd_control(vd, VDCTRL_GET_HWDEC, ¤t); - if (current == HWDEC_AUTO) - current = HWDEC_NONE; *(int *)arg = current; return M_PROPERTY_OK; } |