From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2012-02-19 20:17:39
|
https://bugzilla.gnome.org/show_bug.cgi?id=668713 gnome-perl | GStreamer | unspecified --- Comment #6 from Torsten Schoenfeld <kaf...@gm...> 2012-02-19 20:16:15 UTC --- Well, it kind of works, yes. It pipes one second of music¹ to pacat. Then it hangs. I think that's because you try to reuse all the elements for a second run (the second signal_connect() calls will be a problem, for example). Seeking doesn't work like you try to do it; seek() is not instantaneous. The normal procedure: • put your pipeline into "paused" (or "playing"), • watch the message bus for when the pipeline has actually transitioned into "paused" (or "playing"), then seek() and set_state("playing") <http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-eventsseek.html>. I attach a version of crash.pl that works for me. ¹ Or at least a version of it, apparently missing many frequencies, especially the low ones, and also with a slower tempo. --- Comment #7 from Torsten Schoenfeld <kaf...@gm...> 2012-02-19 20:16:56 UTC --- Created an attachment (id=208002) --> (https://bugzilla.gnome.org/attachment.cgi?id=208002) Seeking crash.pl -- 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. |