mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
6fa6cd8ce4
Original commit message from CVS: First attempt at rebuilding the type/plugin system - make sure caps/props are saved in the registry autoplugging is completely broken. removed the typefactories and typeids from all the pads in the plugins XML load/save is ok (be sure to rerun gstreamer-register)
35 lines
550 B
C
35 lines
550 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();
|
|
|
|
gst_type_dump ();
|
|
|
|
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;
|
|
}
|
|
|