From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-06-01 03:17:35
|
https://bugzilla.gnome.org/show_bug.cgi?id=614650 gnome-perl | GStreamer | unspecified muppet <scott> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sc...@as... --- Comment #7 from muppet <sc...@as...> 2010-06-01 03:17:21 UTC --- As an experiment, can you try having the callback call g_idle_add() to defer execution of the callback action to the main loop? The simple approach would be sub about_to_finish { Glib::Idle->add (sub { ...}); } but i suspect that will crash for the same reasons. So, you might actually want to use a C/XS thunk to experiment. For example: $player->signal_connect (about_to_finish => 'thunk_to_mainloop', $file2); where 'thunk_to_mainloop' is the name of an XSub that calls g_idle_add() under the hook to ask the main loop to invoke a function. This way you get the code executed on a thread that we do know about. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |