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.
		
			
				
	
	
		
			35 lines
		
	
	
		
			491 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			35 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;
 | |
| }
 | |
| 
 |