mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
docs: Don't try to print pad templates of non-GstElement types
This commit is contained in:
parent
8e28799303
commit
b705ab4de6
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ has_sometimes_template (GObject * object)
|
||||||
GstElementClass *klass;
|
GstElementClass *klass;
|
||||||
GList *l;
|
GList *l;
|
||||||
|
|
||||||
if (!GST_IS_OBJECT (object))
|
if (!GST_IS_ELEMENT (object))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
klass = GST_ELEMENT_GET_CLASS (object);
|
klass = GST_ELEMENT_GET_CLASS (object);
|
||||||
|
|
Loading…
Reference in a new issue