[Gstreamer-bugs] [Bug 143030] - [PATCH] improve gstplay

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Wed May 26 08:19:32 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=143030
GStreamer | gst-plugins | Ver: HEAD CVS

t.i.m at zen.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk



------- Additional Comments From t.i.m at zen.co.uk  2004-05-26 11:19 -------
That's what I've been doing (with regard to GstPlay at least) ... 
 
  static void  
  eos_cb (GstElement *obj, gpointer baz) 
  { 
    g_print ("EOS\n"); 
    gtk_widget_set_sensitive (hscale, FALSE); // this is wrong, but shouldn't 
affect GstPlay, should it? 
    g_idle_add ((GSourceFunc) next_song, NULL); 
  } 
 
I'm not entirely convinced it is a good idea to emit the signals from the 
thread they happen to come from just to avoid GMainLoop integration.  I don't 
really have a better suggestion though, apart from adding something like 
gst_play_set_main_context() that would make GstPlay wrap those signals in idle 
timeouts itself. It may be ugly, but at least it makes the issue more obvious. 
 
 Cheers 
  -Tim 
 

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list