mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
vaapisink: rank it as secondary
iHD doesn't provide a full implemention for rendering surfaces and i965 has problems in wayland. And I suspect this path is followed by other driver implementations. This patch demotes the rank of vaapisink to secondary, so it will not be autoplugged avoiding bad experience of users. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/336>
This commit is contained in:
parent
b387081a4d
commit
13d090b566
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ plugin_init (GstPlugin * plugin)
|
|||
gst_element_register (plugin, "vaapidecodebin",
|
||||
GST_RANK_PRIMARY + 2, GST_TYPE_VAAPI_DECODE_BIN);
|
||||
|
||||
rank = GST_RANK_PRIMARY;
|
||||
rank = GST_RANK_SECONDARY;
|
||||
if (g_getenv ("WAYLAND_DISPLAY"))
|
||||
rank = GST_RANK_MARGINAL;
|
||||
gst_element_register (plugin, "vaapisink", rank, GST_TYPE_VAAPISINK);
|
||||
|
|
Loading…
Reference in a new issue