summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-25 11:28:25 +0200
committerwm4 <wm4@nowhere>2016-04-25 12:13:12 +0200
commit4f5509e1dd421ad144090499ee083f63f54313dd (patch)
tree80968f3e59b0de2e7ba6254189c05ee41fb4d3fa /demux
parent85416bc36ac53424e6884c305e5ab1a6f875562d (diff)
downloadmpv-4f5509e1dd421ad144090499ee083f63f54313dd.tar.bz2
mpv-4f5509e1dd421ad144090499ee083f63f54313dd.tar.xz
vd_lavc: better hwdec wrapper decoder selection
This is intended for cases when --hwdec needs to override the decoder implementation in use, like for example on the RPI. It does two things: 1. Allow the hwdec to indicate a decoder suffix. libavcodec by convention adds a suffix to all wrapper decoders, and here we start relying on it. While not necessarily the best idea, it's the only thing we got. libavcodec's hwaccel list is useless, because it only has the codec ID, not the associated decoder's name. 2. Make --hwdec=auto work properly. It shouldn't fail anymore, and hwdec probing should reliably work, even if a different decoder is selected with --vd. The semantics of --hwdec should dictate that it overrides the default decoder.
Diffstat (limited to 'demux')
0 files changed, 0 insertions, 0 deletions