mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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>
This commit is contained in:
parent
2080979d10
commit
b3d9c5bf80
2 changed files with 3 additions and 3 deletions
|
@ -207,7 +207,7 @@ plugin_init (GstPlugin * plugin)
|
|||
gst_vaapioverlay_register (plugin, display);
|
||||
|
||||
gst_element_register (plugin, "vaapipostproc",
|
||||
GST_RANK_PRIMARY, GST_TYPE_VAAPIPOSTPROC);
|
||||
GST_RANK_NONE, GST_TYPE_VAAPIPOSTPROC);
|
||||
|
||||
gst_element_register (plugin, "vaapidecodebin",
|
||||
GST_RANK_PRIMARY + 2, GST_TYPE_VAAPI_DECODE_BIN);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue