mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
examples, ges-launch: remove deprecated g_thread_init()
Not needed any more with recent glib versions
This commit is contained in:
parent
b1361c556f
commit
91af8e1353
7 changed files with 0 additions and 22 deletions
|
@ -1675,9 +1675,6 @@ main (int argc, char *argv[])
|
||||||
App *app;
|
App *app;
|
||||||
|
|
||||||
/* intialize GStreamer and GES */
|
/* intialize GStreamer and GES */
|
||||||
if (!g_thread_supported ())
|
|
||||||
g_thread_init (NULL);
|
|
||||||
|
|
||||||
gst_init (&argc, &argv);
|
gst_init (&argc, &argv);
|
||||||
ges_init ();
|
ges_init ();
|
||||||
|
|
||||||
|
|
|
@ -145,9 +145,6 @@ main (int argc, char **argv)
|
||||||
{NULL}
|
{NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!g_thread_supported ())
|
|
||||||
g_thread_init (NULL);
|
|
||||||
|
|
||||||
ctx = g_option_context_new ("- file segment playback with text overlay");
|
ctx = g_option_context_new ("- file segment playback with text overlay");
|
||||||
g_option_context_add_main_entries (ctx, options, NULL);
|
g_option_context_add_main_entries (ctx, options, NULL);
|
||||||
g_option_context_add_group (ctx, gst_init_get_option_group ());
|
g_option_context_add_group (ctx, gst_init_get_option_group ());
|
||||||
|
|
|
@ -49,10 +49,6 @@ main (int argc, gchar ** argv)
|
||||||
{NULL}
|
{NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Initialization and option parsing */
|
|
||||||
if (!g_thread_supported ())
|
|
||||||
g_thread_init (NULL);
|
|
||||||
|
|
||||||
ctx =
|
ctx =
|
||||||
g_option_context_new
|
g_option_context_new
|
||||||
("- Plays an video file with sound (origin/muted/replaced)");
|
("- Plays an video file with sound (origin/muted/replaced)");
|
||||||
|
|
|
@ -107,9 +107,6 @@ main (int argc, char **argv)
|
||||||
{NULL}
|
{NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!g_thread_supported ())
|
|
||||||
g_thread_init (NULL);
|
|
||||||
|
|
||||||
ctx = g_option_context_new ("- transition between two media files");
|
ctx = g_option_context_new ("- transition between two media files");
|
||||||
g_option_context_add_main_entries (ctx, options, NULL);
|
g_option_context_add_main_entries (ctx, options, NULL);
|
||||||
g_option_context_add_group (ctx, gst_init_get_option_group ());
|
g_option_context_add_group (ctx, gst_init_get_option_group ());
|
||||||
|
|
|
@ -146,9 +146,6 @@ main (int argc, gchar ** argv)
|
||||||
GMainLoop *mainloop;
|
GMainLoop *mainloop;
|
||||||
GstBus *bus;
|
GstBus *bus;
|
||||||
|
|
||||||
if (!g_thread_supported ())
|
|
||||||
g_thread_init (NULL);
|
|
||||||
|
|
||||||
ctx = g_option_context_new ("tests thumbnail supoprt (produces no output)");
|
ctx = g_option_context_new ("tests thumbnail supoprt (produces no output)");
|
||||||
g_option_context_set_summary (ctx, "");
|
g_option_context_set_summary (ctx, "");
|
||||||
g_option_context_add_main_entries (ctx, options, NULL);
|
g_option_context_add_main_entries (ctx, options, NULL);
|
||||||
|
|
|
@ -170,9 +170,6 @@ main (int argc, char **argv)
|
||||||
{NULL}
|
{NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!g_thread_supported ())
|
|
||||||
g_thread_init (NULL);
|
|
||||||
|
|
||||||
ctx = g_option_context_new ("- transition between two media files");
|
ctx = g_option_context_new ("- transition between two media files");
|
||||||
g_option_context_set_summary (ctx,
|
g_option_context_set_summary (ctx,
|
||||||
"Select two files, and optionally a transition duration and type.\n"
|
"Select two files, and optionally a transition duration and type.\n"
|
||||||
|
|
|
@ -457,9 +457,6 @@ main (int argc, gchar ** argv)
|
||||||
GMainLoop *mainloop;
|
GMainLoop *mainloop;
|
||||||
GstBus *bus;
|
GstBus *bus;
|
||||||
|
|
||||||
if (!g_thread_supported ())
|
|
||||||
g_thread_init (NULL);
|
|
||||||
|
|
||||||
ctx = g_option_context_new ("- plays or renders a timeline.");
|
ctx = g_option_context_new ("- plays or renders a timeline.");
|
||||||
g_option_context_set_summary (ctx,
|
g_option_context_set_summary (ctx,
|
||||||
"ges-launch renders a timeline, which can be specified on the commandline,\n"
|
"ges-launch renders a timeline, which can be specified on the commandline,\n"
|
||||||
|
|
Loading…
Reference in a new issue