sinek/include gtkxine.h,1.3,1.4

[email protected] Sun, 05 Jan 2003 22:54:16 -0800
Newsgroups gmane.comp.video.sinek.cvs
Message-ID <[email protected]>
Update of /cvsroot/sinek/sinek/include
In directory sc8-pr-cvs1:/tmp/cvs-serv3886/include

Modified Files:
	gtkxine.h 
Log Message:
The test plays audio/video; time to start using this within sinek.


Index: gtkxine.h
===================================================================
RCS file: /cvsroot/sinek/sinek/include/gtkxine.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gtkxine.h	5 Jan 2003 13:04:44 -0000	1.3
+++ gtkxine.h	6 Jan 2003 06:54:14 -0000	1.4
@@ -81,7 +81,7 @@
 int         gtk_xine_set_warning_handler  (GtkXine *xine, message_handler_cb cb);
 int         gtk_xine_set_error_handler    (GtkXine *xine, message_handler_cb cb);
 const char *gtk_xine_set_audio_driver     (GtkXine *xine, const char *name);
-const char *gtk_xine_set_x11_video_driver (GtkXine *xine, const char *name);
+const char *gtk_xine_set_x11_video_driver (GtkXine *xine, const char *name, GtkWidget *videowin);
 /*const char *gtk_xine_set_fb_video_driver  (GtkXine *xine, const char *name);*/
 
 /* config file */
@@ -98,13 +98,15 @@
 int         gtk_xine_config_set           (GtkXine *xine, const char *key, void *value);
 int         gtk_xine_config_get           (GtkXine *xine, const char *key, void **value);
 
+/* media handling */
 
-
-void        gtk_xine_load                 (GtkXine *xine, const char *mrl);
-void        gtk_xine_play                 (GtkXine *xine);
-void        gtk_xine_play_from_position   (GtkXine *xine, int start);
-void        gtk_xine_play_from_time       (GtkXine *xine, time_t start);
-void        gtk_xine_stop                 (GtkXine *xine);
+int         gtk_xine_load                 (GtkXine *xine, const char *mrl);
+int         gtk_xine_play                 (GtkXine *xine);
+int         gtk_xine_play_from_position   (GtkXine *xine, int start);
+int         gtk_xine_play_from_time       (GtkXine *xine, time_t start);
+int         gtk_xine_stop                 (GtkXine *xine);
+uint32_t    gtk_xine_stream_has_audio     (GtkXine *xine);
+uint32_t    gtk_xine_stream_has_video     (GtkXine *xine);
 
 /* stream parameters */
 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf