mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
finalize conversion to gst-register
Original commit message from CVS: finalize conversion to gst-register
This commit is contained in:
parent
441aeb13e9
commit
0b08c3f213
2 changed files with 3 additions and 3 deletions
|
@ -341,7 +341,7 @@ gst_parse_launch_cmdline (int argc, char *argv[], GstBin * parent, gst_parse_pri
|
||||||
if (!element) {
|
if (!element) {
|
||||||
#ifndef GST_DISABLE_REGISTRY
|
#ifndef GST_DISABLE_REGISTRY
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"Couldn't create a '%s', no such element or need to run gstreamer-register?\n",
|
"Couldn't create a '%s', no such element or need to run gst-register?\n",
|
||||||
arg);
|
arg);
|
||||||
#else
|
#else
|
||||||
fprintf (stderr, "Couldn't create a '%s', no such element or need to load pluginn?\n",
|
fprintf (stderr, "Couldn't create a '%s', no such element or need to load pluginn?\n",
|
||||||
|
|
|
@ -46,7 +46,7 @@ gint _gst_libraries_seqno = 0;
|
||||||
/* whether or not to spew library load issues */
|
/* whether or not to spew library load issues */
|
||||||
gboolean _gst_plugin_spew = FALSE;
|
gboolean _gst_plugin_spew = FALSE;
|
||||||
|
|
||||||
/* whether or not to warn if registry needs rebuild (gstreamer-register sets
|
/* whether or not to warn if registry needs rebuild (gst-register sets
|
||||||
* this to false.) */
|
* this to false.) */
|
||||||
gboolean _gst_warn_old_registry = TRUE;
|
gboolean _gst_warn_old_registry = TRUE;
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ _gst_plugin_initialize (void)
|
||||||
!plugin_times_older_than(get_time(GST_CONFIG_DIR"/reg.xml")))
|
!plugin_times_older_than(get_time(GST_CONFIG_DIR"/reg.xml")))
|
||||||
{
|
{
|
||||||
if (_gst_warn_old_registry)
|
if (_gst_warn_old_registry)
|
||||||
g_warning ("gstplugin: registry needs rebuild: run gstreamer-register\n");
|
g_warning ("gstplugin: registry needs rebuild: run gst-register\n");
|
||||||
_gst_plugin_paths = g_list_concat (_gst_plugin_paths, gst_plugin_default_paths);
|
_gst_plugin_paths = g_list_concat (_gst_plugin_paths, gst_plugin_default_paths);
|
||||||
gst_plugin_load_all ();
|
gst_plugin_load_all ();
|
||||||
/* gst_plugin_unload_all (); */
|
/* gst_plugin_unload_all (); */
|
||||||
|
|
Loading…
Reference in a new issue