summaryrefslogtreecommitdiff
path: root/gst/vaapi/gstvaapi.c
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2021-04-23 19:01:54 +0200
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-05-21 09:36:26 +0000
commit7a25c5d4ec95aefeca6515ac023b23c5dd330194 (patch)
tree754761e40934afc090e4da8a72fd6b1cd012e4cb /gst/vaapi/gstvaapi.c
parentb3d9c5bf803d282b0581eec338c3ae2ecfe0a4e1 (diff)
vaapi: Demote vaapidecodebin to rank NONE.
One of the main reasons of vaapidecodebin was because it mitigated the possible surface exhaustion. But that problem is currently solved. Nowadays, vaapidecodebin brings more problems than it solves. Thus this patch demotes vaapidecodebin to NONE rank while bumping PRIMARY + 1 the most common decoders. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/426>
Diffstat (limited to 'gst/vaapi/gstvaapi.c')
-rw-r--r--gst/vaapi/gstvaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/vaapi/gstvaapi.c b/gst/vaapi/gstvaapi.c
index 35326248..56ee703f 100644
--- a/gst/vaapi/gstvaapi.c
+++ b/gst/vaapi/gstvaapi.c
@@ -210,7 +210,7 @@ plugin_init (GstPlugin * plugin)
GST_RANK_NONE, GST_TYPE_VAAPIPOSTPROC);
gst_element_register (plugin, "vaapidecodebin",
- GST_RANK_PRIMARY + 2, GST_TYPE_VAAPI_DECODE_BIN);
+ GST_RANK_NONE, GST_TYPE_VAAPI_DECODE_BIN);
rank = GST_RANK_SECONDARY;
if (g_getenv ("WAYLAND_DISPLAY"))