mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
docs: plugin-scanner: Minor debug enhancement
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2954>
This commit is contained in:
parent
1c4950718f
commit
c8a9736244
1 changed files with 2 additions and 1 deletions
|
@ -823,7 +823,8 @@ _add_element_details (GString * json, GString * other_types,
|
||||||
gst_element_factory_create (GST_ELEMENT_FACTORY (feature), NULL);
|
gst_element_factory_create (GST_ELEMENT_FACTORY (feature), NULL);
|
||||||
char s[20];
|
char s[20];
|
||||||
|
|
||||||
g_assert (element);
|
if (!element)
|
||||||
|
g_error ("Couldn't not make `%s`", GST_OBJECT_NAME (feature));
|
||||||
|
|
||||||
g_string_append_printf (json,
|
g_string_append_printf (json,
|
||||||
"\"%s\": {"
|
"\"%s\": {"
|
||||||
|
|
Loading…
Reference in a new issue