mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
9987a75b1b
Original commit message from CVS: Implemented some test cases... they all fail :-( Added a flag to identity to for loop_based behaviour. Added a signal to fakesink when a buffer is consumed.
33 lines
529 B
C
33 lines
529 B
C
/*
|
|
* Initial main.c file generated by Glade. Edit as required.
|
|
* Glade will not overwrite this file.
|
|
*/
|
|
|
|
#include <config.h>
|
|
#include <gnome.h>
|
|
|
|
#include "gstmediaplay.h"
|
|
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
GstMediaPlay *play;
|
|
|
|
gst_init (&argc,&argv);
|
|
gnome_init ("gstreamer", VERSION, argc, argv);
|
|
glade_init();
|
|
glade_gnome_init();
|
|
|
|
play = gst_media_play_new ();
|
|
|
|
if (argc > 1) {
|
|
gst_media_play_start_uri (play, argv[1]);
|
|
}
|
|
|
|
gdk_threads_enter ();
|
|
gst_main ();
|
|
gdk_threads_leave ();
|
|
|
|
return 0;
|
|
}
|
|
|