Commit b3d9c5bf authored by Víctor Manuel Jáquez Leal's avatar Víctor Manuel Jáquez Leal
Browse files

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: <!429>
parent 2080979d
Pipeline #323568 waiting for manual action with stages
in 48 seconds
......@@ -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);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment