From eb8957cea110a9aa652894d8bb897a9b1ff91e0b Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 Dec 2017 21:05:54 +0100 Subject: vd_lavc: rewrite how --hwdec is handled Change it from explicit metadata about every hwaccel method to trying to get it from libavcodec. As shown by add_all_hwdec_methods(), this is a quite bumpy road, and a bit worse than expected. This will probably cause a bunch of regressions. In particular I didn't check all the strange decoder wrappers, which all cause some sort of special cases each. You're volunteering for beta testing by using this commit. One interesting thing is that we completely get rid of mp_hwdec_ctx in vd_lavc.c, and that HWDEC_* mostly goes away (some filters still use it, and the VO hwdec interops still have a lot of code to set it up, so it's not going away completely for now). --- DOCS/interface-changes.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'DOCS') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 312fe9552a..7dcb9cda55 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -57,6 +57,8 @@ Interface changes This option is hereby declared as unstable and may change any time - its old use is deprecated, and it has very little use outside of debugging now. + - change the --hwdec option from a choice to a plain string (affects + introspection of the option/property), also affects some properties --- mpv 0.27.0 --- - drop previously deprecated --field-dominance option - drop previously deprecated "osd" command -- cgit v1.2.3