mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +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;
|
||||
GList *l;
|
||||
|
||||
if (!GST_IS_OBJECT (object))
|
||||
if (!GST_IS_ELEMENT (object))
|
||||
return FALSE;
|
||||
|
||||
klass = GST_ELEMENT_GET_CLASS (object);
|
||||
|
|
Loading…
Reference in a new issue