mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
make sure we have sane element details - this breaks some plugins, fix them :)
Original commit message from CVS: make sure we have sane element details - this breaks some plugins, fix them :)
This commit is contained in:
parent
10cdc0c90c
commit
76ea441abf
1 changed files with 7 additions and 0 deletions
|
@ -168,6 +168,13 @@ gst_element_factory_new (const gchar *name, GType type,
|
|||
g_return_val_if_fail (name != NULL, NULL);
|
||||
g_return_val_if_fail (type, NULL);
|
||||
g_return_val_if_fail (details, NULL);
|
||||
g_return_val_if_fail (details->longname, NULL);
|
||||
g_return_val_if_fail (details->klass, NULL);
|
||||
g_return_val_if_fail (details->license, NULL);
|
||||
g_return_val_if_fail (details->description, NULL);
|
||||
g_return_val_if_fail (details->version, NULL);
|
||||
g_return_val_if_fail (details->author, NULL);
|
||||
g_return_val_if_fail (details->copyright, NULL);
|
||||
|
||||
factory = gst_element_factory_find (name);
|
||||
|
||||
|
|
Loading…
Reference in a new issue