mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 04:05:34 +00:00
Original commit message from CVS: Misc fixes and cleanups A reworked gstplay. Now it is called gstmediaplay. gstplay is a custom widget that can display media and is to become a bonobo component soon. put the tables of the mpeg audio encoder in a header file. maybe faster quantisation for the mpeg encoder.
34 lines
491 B
C
34 lines
491 B
C
/*
|
|
* Initial main.c file generated by Glade. Edit as required.
|
|
* Glade will not overwrite this file.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
//#define DEBUG_ENABLED
|
|
|
|
#include <gnome.h>
|
|
#include <glade/glade.h>
|
|
|
|
#include "gstmediaplay.h"
|
|
|
|
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
GstMediaPlay *play;
|
|
|
|
gst_init(&argc,&argv);
|
|
gnome_init ("gstreamer", VERSION, argc, argv);
|
|
|
|
play = gst_media_play_new();
|
|
|
|
if (argc > 1) {
|
|
gst_media_play_start_uri(play, argv[1]);
|
|
}
|
|
|
|
gst_main();
|
|
|
|
return 0;
|
|
}
|
|
|