diff options
author | wm4 <wm4@nowhere> | 2013-08-11 23:23:12 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-08-11 23:59:18 +0200 |
commit | 8fe4790ec8945cae52ea7600312f54e1dbdf8162 (patch) | |
tree | da448807fd64dc944387f548b5c23ec7005c59c2 /sub | |
parent | cdf4b7d2ee666a2b4635bd9eacce7e1a414dd7c2 (diff) | |
download | mpv-8fe4790ec8945cae52ea7600312f54e1dbdf8162.tar.bz2 mpv-8fe4790ec8945cae52ea7600312f54e1dbdf8162.tar.xz |
video: redo hw decoding initialization, add --hwdec=auto
Change how the HW decoding stuff is organized, the way it's initialized
in particular. Instead of duplicating the list of supported codecs for
hwaccel decoders, add a probe function which allows each decoder to
report whether it supports a given codec.
Add an "auto" choice to the --hwdec option, which automatically enables
hardware decoding if libavcodec and/or the VO supports it.
What mpv prints on the terminal changes a bit. Now it will just print
a single line whether hw decoding is used or not (and nothing at all if
no hw decoding at all was requested). The pretty violent fallback from
hw decoding to software decoding is still quite verbose and evil-looking
though.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions