Convert gst_main() to g_main_loop_run()

Original commit message from CVS:
Convert gst_main() to g_main_loop_run()
* gst/playback/decodetest.c: (main):
* gst/playback/test2.c: (main):
* gst/playback/test3.c: (main):
* gst/playback/test4.c: (main):
Link plugins against libraries:
* ext/libvisual/Makefile.am:
* sys/xvimage/Makefile.am:
This commit is contained in:
David Schleef 2005-04-25 00:30:40 +00:00
parent 129c7e8af1
commit a67de7c9b0
7 changed files with 19 additions and 6 deletions

View file

@ -1,3 +1,15 @@
2005-04-24 David Schleef <ds@schleef.org>
Convert gst_main() to g_main_loop_run()
* gst/playback/decodetest.c: (main):
* gst/playback/test2.c: (main):
* gst/playback/test3.c: (main):
* gst/playback/test4.c: (main):
Link plugins against libraries:
* ext/libvisual/Makefile.am:
* sys/xvimage/Makefile.am:
2005-04-24 David Schleef <ds@schleef.org>
* configure.ac: Remove idct and resample libs

View file

@ -2,5 +2,6 @@ plugin_LTLIBRARIES = libgstlibvisual.la
libgstlibvisual_la_SOURCES = visual.c
libgstlibvisual_la_CFLAGS = $(GST_CFLAGS) $(LIBVISUAL_CFLAGS)
libgstlibvisual_la_LIBADD = $(LIBVISUAL_LIBS)
libgstlibvisual_la_LIBADD = $(LIBVISUAL_LIBS) \
libgstbytestream-$(GST_MAJORMINOR).la
libgstlibvisual_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)

View file

@ -48,7 +48,7 @@ main (gint argc, gchar * argv[])
return -1;
}
gst_main ();
g_main_loop_run (g_main_loop_new (NULL, FALSE));
return 0;
}

View file

@ -37,7 +37,7 @@ main (gint argc, gchar * argv[])
return -1;
}
gst_main ();
g_main_loop_run (g_main_loop_new (NULL, TRUE));
return 0;
}

View file

@ -56,7 +56,7 @@ main (gint argc, gchar * argv[])
g_timeout_add (UPDATE_INTERVAL, (GSourceFunc) update_scale, player);
gst_main ();
g_main_loop_run (g_main_loop_new (NULL, TRUE));
return 0;
}

View file

@ -85,7 +85,7 @@ main (gint argc, gchar * argv[])
return -1;
}
gst_main ();
g_main_loop_run (g_main_loop_new (NULL, TRUE));
return 0;
}

View file

@ -5,7 +5,7 @@ libgstxvimagesink_la_SOURCES = xvimagesink.c
libgstxvimagesink_la_CFLAGS = $(GST_CFLAGS) $(X_CFLAGS)
libgstxvimagesink_la_LIBADD = $(X_LIBS) $(XVIDEO_LIBS) $(XSHM_LIBS) \
$(top_builddir)/gst-libs/gst/libgstinterfaces-$(GST_MAJORMINOR).la \
$(top_builddir)/gst-libs/gst/video/libgstvideo.la
$(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_MAJORMINOR).la
libgstxvimagesink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = xvimagesink.h