[gstreamer-bugs] [Bug 536258] New: interleave doesn't close properly

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jun 2 07:49:04 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=536258

  GStreamer | gst-plugins-bad | Ver: HEAD CVS
           Summary: interleave doesn't close properly
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: le.businessman at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.21/2.22
   GNOME milestone: Unspecified


Please describe the problem:
I have a pipeline with multichannel audio (6 or 8, both give the same result)
being interleaved. From the command line, when I try to exit with ctrl-C, the
program doesn't exit until I hit control-c again and also produces a low
frequency sawtooth like sound until I exit. In a C program, when the pipeline
should be destroyed it also hangs (my guess is some of the threads don't exit
properly).Note that the same example in mono or 2 channel audio does NOT hang.

Steps to reproduce:
gst-launch-0.10 -v interleave name=i ! audioconvert ! queue ! jackaudiosink
sync=false \
 audiotestsrc volume=0.5 freq=200 is-live=true ! audioconvert ! queue ! i. \
 audiotestsrc volume=0.1 freq=300 is-live=true ! audioconvert ! queue ! i. \
 audiotestsrc volume=0.1 freq=500 is-live=true ! audioconvert ! queue ! i. \
 audiotestsrc volume=0.1 freq=700 is-live=true ! audioconvert ! queue ! i. \
 audiotestsrc volume=0.1 freq=900 is-live=true ! audioconvert ! queue ! i. \
 audiotestsrc volume=0.4 freq=1100 is-live=true ! audioconvert ! queue ! i. \
 audiotestsrc volume=0.4 freq=1300 is-live=true ! audioconvert ! queue ! i. \
 audiotestsrc volume=0.4 freq=1400 is-live=true ! audioconvert ! queue ! i. \


Then try to exit with control-C.

Actual results:
It will hang as described with this message:

Caught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 894420256 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/pipeline0/jackaudiosink0.sink: caps = NULL
/pipeline0/queue0.src: caps = NULL
/pipeline0/queue0.sink: caps = NULL
/pipeline0/audioconvert0.src: caps = NULL
/pipeline0/audioconvert0.sink: caps = NULL

until control-C is used again.

Expected results:
The program should exit normally and the audio should be killed.

Does this happen every time?
80% of the time (sometimes it does quit normally).

Other information:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=536258.




More information about the Gstreamer-bugs mailing list