mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 17:05:52 +00:00
gst/gst.c: move pid declaration to declaration block
Original commit message from CVS: * gst/gst.c: (init_post): move pid declaration to declaration block
This commit is contained in:
parent
789d5bb4e0
commit
593503cb8c
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/gst.c: (init_post):
|
||||||
|
move pid declaration to declaration block
|
||||||
|
|
||||||
2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
|
2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gst/gst.c: (init_post):
|
* gst/gst.c: (init_post):
|
||||||
|
|
|
@ -603,6 +603,10 @@ init_post (void)
|
||||||
gboolean changed = FALSE;
|
gboolean changed = FALSE;
|
||||||
GList *l;
|
GList *l;
|
||||||
|
|
||||||
|
#ifdef HAVE_FORK
|
||||||
|
pid_t pid;
|
||||||
|
#endif
|
||||||
|
|
||||||
for (l = plugin_paths; l != NULL; l = l->next) {
|
for (l = plugin_paths; l != NULL; l = l->next) {
|
||||||
GST_INFO ("Scanning plugin path: \"%s\"", (gchar *) l->data);
|
GST_INFO ("Scanning plugin path: \"%s\"", (gchar *) l->data);
|
||||||
/* CHECKME: add changed |= here as well? */
|
/* CHECKME: add changed |= here as well? */
|
||||||
|
@ -612,10 +616,6 @@ init_post (void)
|
||||||
g_list_free (plugin_paths);
|
g_list_free (plugin_paths);
|
||||||
plugin_paths = NULL;
|
plugin_paths = NULL;
|
||||||
|
|
||||||
#ifdef HAVE_FORK
|
|
||||||
pid_t pid;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
default_registry = gst_registry_get_default ();
|
default_registry = gst_registry_get_default ();
|
||||||
registry_file = g_strdup (g_getenv ("GST_REGISTRY"));
|
registry_file = g_strdup (g_getenv ("GST_REGISTRY"));
|
||||||
if (registry_file == NULL) {
|
if (registry_file == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue