mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 02:46:33 +00:00
minor patch to error message in case of no registry support
Original commit message from CVS: minor patch to error message in case of no registry support
This commit is contained in:
parent
f71850c59b
commit
0fc739a48f
1 changed files with 4 additions and 0 deletions
|
@ -296,7 +296,11 @@ gst_parse_launch_cmdline(int argc,char *argv[],GstBin *parent,gst_parse_priv *pr
|
|||
element = gst_elementfactory_make(arg,ptr);
|
||||
g_free(ptr);
|
||||
if (!element) {
|
||||
#ifndef GST_DISABLE_REGISTRY
|
||||
fprintf(stderr,"Couldn't create a '%s', no such element or need to run gstreamer-register?\n",arg);
|
||||
#else
|
||||
fprintf(stderr,"Couldn't create a '%s', no such element or need to load pluginn?\n",arg);
|
||||
#endif
|
||||
exit(-1);
|
||||
}
|
||||
GST_DEBUG(0,"CREATED element %s\n",GST_ELEMENT_NAME(element));
|
||||
|
|
Loading…
Reference in a new issue