diff options
author | wm4 <wm4@nowhere> | 2016-05-11 16:18:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-11 16:20:13 +0200 |
commit | 70b35612704a992dac45856e069608216f41ea89 (patch) | |
tree | 6ed76d1cfc9f4dad857b0c8d56c7fd6db1bb24fc /player | |
parent | 2ec26b8396c8d44def148351ee370fde4b950cbf (diff) | |
download | mpv-70b35612704a992dac45856e069608216f41ea89.tar.bz2 mpv-70b35612704a992dac45856e069608216f41ea89.tar.xz |
video: add --hwdec=auto-copy mode
This uses the normal autoprobing rules like "auto", but rejects anything
that isn't flagged as copying data back to system memory.
The chunk in command.c was dead code, so remove it instead of updating
it.
Diffstat (limited to 'player')
-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; } |