[gstreamer-bugs] [Bug 313424] New: Adding/removing from pipeline

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sat Aug 13 15:16:26 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=313424
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: Adding/removing from pipeline
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mdk at mdk.org.pl
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Version details: 13.09.2005 CVS
Distribution/Version: archlinux

1. Create a pipeline that's supposed to play some video 
   (ie. filesrc ! dvdec .video ! fakesink)
2. Set the pipeline to PAUSED
3. Set the pipeline to READY
4. Remove elements from the pipeline and destroy the pipeline
5. Add the elements back to a new pipeline 
   (ie. filesrc ! dvdec. video ! xvimagesink)
6. Set the new pipeline to PAUSED

Fails with: (in case of xvimagesink)
ERROR (0x80c6620 - 0:00:00.106941000)     xvimagesink(29763)
xvimagesink.c(366):gst_xvimagesink_xvimage_new:<xvimagesink1> could not get
shared memory of 0 bytes
X Error of failed request:  BadShmSeg (invalid shared segment parameter)
  Major opcode of failed request:  149 (MIT-SHM)
  Minor opcode of failed request:  2 (X_ShmDetach)
  Segment id in failed request:  0x0
  Serial number of failed request:  22
  Current serial number in output stream:  23

This is valid at least for (dvdec) and (avidemux ! jpegdec) constructions. With
simplier elements (videotestsrc, sinesrc) all works like expected. I'm attaching
a simple test case that triggers the error (C).

For the purpose of the example it's very simple. I bumped on that while trying
to do more complicated things (decodebin based bins added/removed from pipelines)

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




More information about the Gstreamer-bugs mailing list