diff options
author | Julien Moutte <julien@moutte.net> | 2003-05-30 22:36:19 +0000 |
---|---|---|
committer | Julien Moutte <julien@moutte.net> | 2003-05-30 22:36:19 +0000 |
commit | f1a6f672da091821907d168d1fd666472d249848 (patch) | |
tree | c2480d996eb3d94715ab05af3d7b39114b70e4ed /gst-libs/gst/play/play.old.h | |
parent | 9abd17b8460d520489316d9fba67b67ddd5c6411 (diff) | |
download | gst-plugins-bad-f1a6f672da091821907d168d1fd666472d249848.tar.gz gst-plugins-bad-f1a6f672da091821907d168d1fd666472d249848.tar.bz2 gst-plugins-bad-f1a6f672da091821907d168d1fd666472d249848.zip |
Error handling is inside and works :)
Original commit message from CVS:
Error handling is inside and works :)
Mutexes have been removed. That should fix UI responsiveness problems on query_length. Please heavily test to check if they were really needed.
Some fixes in GClosures
Diffstat (limited to 'gst-libs/gst/play/play.old.h')
-rw-r--r-- | gst-libs/gst/play/play.old.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/gst-libs/gst/play/play.old.h b/gst-libs/gst/play/play.old.h index 0ab8f389..36057505 100644 --- a/gst-libs/gst/play/play.old.h +++ b/gst-libs/gst/play/play.old.h @@ -2,7 +2,7 @@ * Copyright (C) 1999,2000,2001,2002 Erik Walthinsen <omega@cse.ogi.edu> * 2000,2001,2002 Wim Taymans <wtay@chello.be> * 2002 Steve Baker <steve@stevebaker.org> - * 2003 Julien Moutte <julien@moutte.net> + * 2003 Julien Moutte <julien@moutte.net> * * play.h: GstPlay object code * @@ -117,9 +117,6 @@ struct _GstPlay GstClock *clock; - GMutex *audio_bin_mutex; - GMutex *video_bin_mutex; - gboolean need_stream_length; gboolean need_seek; gint time_seconds; @@ -139,25 +136,25 @@ struct _GstPlayClass GObjectClass parent_class; /* signals */ - void (*information) ( GstPlay* play, + void (*information) (GstPlay* play, GstObject* element, GParamSpec *param); - void (*pipeline_error) ( GstPlay* play, + void (*pipeline_error) (GstPlay* play, GstElement* element, - gchar *error); - void (*state_changed) ( GstPlay* play, + char *error); + void (*state_changed) (GstPlay* play, GstElementState old_state, GstElementState new_state); - void (*stream_end) ( GstPlay* play); - void (*time_tick) ( GstPlay* play, + void (*stream_end) (GstPlay* play); + void (*time_tick) (GstPlay* play, gint64 time_nanos); - void (*stream_length) ( GstPlay* play, + void (*stream_length) (GstPlay* play, gint64 length_nanos); - void (*have_xid) ( GstPlay* play, + void (*have_xid) (GstPlay* play, gint xid); - void (*have_vis_xid) ( GstPlay* play, + void (*have_vis_xid) (GstPlay* play, gint xid); - void (*have_video_size) ( GstPlay* play, + void (*have_video_size) (GstPlay* play, gint width, gint height); }; |