examples, ges-launch: remove deprecated g_thread_init()

Not needed any more with recent glib versions
This commit is contained in:
Tim-Philipp Müller 2012-02-10 19:17:38 +00:00
parent b1361c556f
commit 91af8e1353
7 changed files with 0 additions and 22 deletions

View file

@ -1675,9 +1675,6 @@ main (int argc, char *argv[])
App *app;
/* intialize GStreamer and GES */
if (!g_thread_supported ())
g_thread_init (NULL);
gst_init (&argc, &argv);
ges_init ();

View file

@ -145,9 +145,6 @@ main (int argc, char **argv)
{NULL}
};
if (!g_thread_supported ())
g_thread_init (NULL);
ctx = g_option_context_new ("- file segment playback with text overlay");
g_option_context_add_main_entries (ctx, options, NULL);
g_option_context_add_group (ctx, gst_init_get_option_group ());

View file

@ -49,10 +49,6 @@ main (int argc, gchar ** argv)
{NULL}
};
/* Initialization and option parsing */
if (!g_thread_supported ())
g_thread_init (NULL);
ctx =
g_option_context_new
("- Plays an video file with sound (origin/muted/replaced)");

View file

@ -107,9 +107,6 @@ main (int argc, char **argv)
{NULL}
};
if (!g_thread_supported ())
g_thread_init (NULL);
ctx = g_option_context_new ("- transition between two media files");
g_option_context_add_main_entries (ctx, options, NULL);
g_option_context_add_group (ctx, gst_init_get_option_group ());

View file

@ -146,9 +146,6 @@ main (int argc, gchar ** argv)
GMainLoop *mainloop;
GstBus *bus;
if (!g_thread_supported ())
g_thread_init (NULL);
ctx = g_option_context_new ("tests thumbnail supoprt (produces no output)");
g_option_context_set_summary (ctx, "");
g_option_context_add_main_entries (ctx, options, NULL);

View file

@ -170,9 +170,6 @@ main (int argc, char **argv)
{NULL}
};
if (!g_thread_supported ())
g_thread_init (NULL);
ctx = g_option_context_new ("- transition between two media files");
g_option_context_set_summary (ctx,
"Select two files, and optionally a transition duration and type.\n"

View file

@ -457,9 +457,6 @@ main (int argc, gchar ** argv)
GMainLoop *mainloop;
GstBus *bus;
if (!g_thread_supported ())
g_thread_init (NULL);
ctx = g_option_context_new ("- plays or renders a timeline.");
g_option_context_set_summary (ctx,
"ges-launch renders a timeline, which can be specified on the commandline,\n"