Browse Source

vaapi: dec-dev: increase all priorities

Set the priority higher than nvdec, as there are more chance to have a
working vaapi driver working on Linux.
pull/200/head
Thomas Guillem 6 months ago
parent
commit
658ac9f758
  1. 6
      modules/hw/vaapi/decoder_device.c

6
modules/hw/vaapi/decoder_device.c

@ -249,15 +249,15 @@ Open(vlc_decoder_device *device, vlc_window_t *window)
}
#if defined (HAVE_VA_X11)
# define PRIORITY 2
# define PRIORITY 5
# define SHORTCUT "vaapi_x11"
# define DESCRIPTION_SUFFIX "X11"
#elif defined(HAVE_VA_WL)
# define PRIORITY 2
# define PRIORITY 5
# define SHORTCUT "vaapi_wl"
# define DESCRIPTION_SUFFIX "Wayland"
#elif defined (HAVE_VA_DRM)
# define PRIORITY 1
# define PRIORITY 4
# define SHORTCUT "vaapi_drm"
# define DESCRIPTION_SUFFIX "DRM"
#endif

Loading…
Cancel
Save