mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 01:47:38 +00:00
vd_lavc: add drm
and drm-copy
to the auto-safe
list
We have supported `hwdec=drm` for some time now, and on devices where this method is present, it is the preferred, and only, method available. Combine that with the fact that software decoding on embedded devices will not turn out well, and it's clear that we should put `drm` and `drm-copy` on the `auto-safe` list to maximise usability in simple configurations.
This commit is contained in:
parent
9f7f9c1614
commit
7fe2a76621
@ -243,6 +243,8 @@ const struct autoprobe_info hwdec_autoprobe_info[] = {
|
||||
{"vaapi-copy", HWDEC_FLAG_AUTO | HWDEC_FLAG_WHITELIST},
|
||||
{"vdpau", HWDEC_FLAG_AUTO},
|
||||
{"vdpau-copy", HWDEC_FLAG_AUTO | HWDEC_FLAG_WHITELIST},
|
||||
{"drm", HWDEC_FLAG_AUTO | HWDEC_FLAG_WHITELIST},
|
||||
{"drm-copy", HWDEC_FLAG_AUTO | HWDEC_FLAG_WHITELIST},
|
||||
{"mmal", HWDEC_FLAG_AUTO},
|
||||
{"mmal-copy", HWDEC_FLAG_AUTO | HWDEC_FLAG_WHITELIST},
|
||||
{"mediacodec", HWDEC_FLAG_AUTO},
|
||||
|
Loading…
Reference in New Issue
Block a user