mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Regression, return -1 when no features can be found
Original commit message from CVS: Regression, return -1 when no features can be found
This commit is contained in:
parent
2e1ff49925
commit
df7b9dc725
1 changed files with 2 additions and 2 deletions
|
@ -1015,7 +1015,8 @@ print_element_features (const gchar * element_name)
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -1045,7 +1046,6 @@ main (int argc, char *argv[])
|
|||
/* only search for a factory if there's not a '.so' */
|
||||
if (!strstr (argv[1], ".so")) {
|
||||
factory = gst_element_factory_find (argv[1]);
|
||||
|
||||
/* if there's a factory, print out the info */
|
||||
if (factory) {
|
||||
GstElement *element;
|
||||
|
|
Loading…
Reference in a new issue