From 7fe2a76621f15c11298fdbc55a13f878b35a36bf Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Sat, 1 Jul 2023 20:15:53 -0700 Subject: 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. --- video/decode/vd_lavc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video') diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 96b6b2ca7b..33a6da85d2 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -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}, -- cgit v1.2.3