[Bug 669697] New: shmsink blocking forever

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 8 10:50:36 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=669697
  GStreamer | gst-plugins-bad | git

           Summary: shmsink blocking forever
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: gemont at igalia.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I was trying to play with shmsink/shmsrc with the following simple gst-launch
pipelines:

(1) gst-launch -v videotestsrc !  shmsink socket-path=/tmp/blah
shm-size=1000000

(2) gst-launch shmsrc socket-path=/tmp/blah   ! "video/x-raw-yuv,
format=(fourcc)YUY2, color-matrix=(string)sdtv, chroma-site=(string)mpeg2,
width=(int)320, height=(int)240, framerate=(fraction)30/1" ! autovideosink

pipeline (2) is launched after (1), and the caps I put are the ones I see
output by the first gst-launch.

Both pipelines block forever. In (2), shmsrc never seems to get any buffer (I
think it never gets anything on the socket). In (1), pollthread_func() is
blocked on gst_poll_wait(), after having gone through the continue added in
a34108899ea5027be67e8a2c77c4ef67c093eb83.

Reverting that commit fixes the issue, and both pipelines work as expected,
though I don't know if that's the best solution as I don't understand the
concrete issue that it solves.

-- 
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.


More information about the gstreamer-bugs mailing list