mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
autovideoconvert: Ignore elements with rank == NONE
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/899>
This commit is contained in:
parent
a0a9e9e3cf
commit
8266f534a7
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ gst_auto_video_convert_element_filter (GstPluginFeature * feature,
|
||||||
if (!g_strcmp0 (GST_OBJECT_NAME (feature), "autovideoconvert"))
|
if (!g_strcmp0 (GST_OBJECT_NAME (feature), "autovideoconvert"))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
if (gst_plugin_feature_get_rank (feature) <= GST_RANK_NONE)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
klass = gst_element_factory_get_metadata (GST_ELEMENT_FACTORY_CAST (feature),
|
klass = gst_element_factory_get_metadata (GST_ELEMENT_FACTORY_CAST (feature),
|
||||||
GST_ELEMENT_METADATA_KLASS);
|
GST_ELEMENT_METADATA_KLASS);
|
||||||
/* only select color space converter */
|
/* only select color space converter */
|
||||||
|
|
Loading…
Reference in a new issue