diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2021-05-20 10:28:05 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2021-05-20 10:35:32 +0200 |
commit | b3d9c5bf803d282b0581eec338c3ae2ecfe0a4e1 (patch) | |
tree | 274634526ad7904b2bd17577b6b810d11a02f41d /gst/vaapi/gstvaapioverlay.c | |
parent | 2080979d102a34dbb8710d36ea45374cadf38d8e (diff) | |
download | gstreamer-vaapi-b3d9c5bf803d282b0581eec338c3ae2ecfe0a4e1.tar.gz |
plugins: Demote rank of vaapipostproc and vaapioverlay.
Since almost all video filters have rank NONE, these both elements
should be NONE too.
This is useful for autovideoconvert and other bins, and users might
force to use these by setting the environment variable
GST_PLUGIN_FEATURE_RANK.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/429>
Diffstat (limited to 'gst/vaapi/gstvaapioverlay.c')
-rw-r--r-- | gst/vaapi/gstvaapioverlay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/vaapi/gstvaapioverlay.c b/gst/vaapi/gstvaapioverlay.c index 53efdace..c70b01a1 100644 --- a/gst/vaapi/gstvaapioverlay.c +++ b/gst/vaapi/gstvaapioverlay.c @@ -681,6 +681,6 @@ gst_vaapioverlay_register (GstPlugin * plugin, GstVaapiDisplay * display) return FALSE; gst_vaapi_blend_replace (&blend, NULL); - return gst_element_register (plugin, "vaapioverlay", - GST_RANK_PRIMARY, GST_TYPE_VAAPI_OVERLAY); + return gst_element_register (plugin, "vaapioverlay", GST_RANK_NONE, + GST_TYPE_VAAPI_OVERLAY); } |