[Bug 654816] New: [rtspsrc] rtspsrc don't get eos if it's wrapped into a bin

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 18 01:23:19 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=654816
  GStreamer | gst-plugins-good | 0.10.29

           Summary: [rtspsrc] rtspsrc don't get eos if it's wrapped into a
                    bin
    Classification: Platform
           Product: GStreamer
           Version: 0.10.29
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ikt011 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I have a simple pipeline:

rtspsrc ! decodebin2 ! queue ! xvsink

If I put the elements into the pipeline without any wrapping bins, and send an
eos to the pipeline, the eos arrive to the bus and everything is fine. 

If I put the rtspsrc, decodebin2 and the queue into a bin (named sourceBin) and
send the eos, the rtspsrc doesn't receive the eos event, and the message never
appears on the bus.

In the GST_DEBUG=4 log these are the important lines:

Without binwrapping it's working:

GST_EVENT gstevent.c:269:gst_event_new:ESC[00m creating new event
0x7f78d86ba300 eos 86
GST_ELEMENT_PADS gstelement.c:1633:gst_element_send_event:ESC[00m send eos
event on element pipeline0
bin gstbin.c:2656:gst_bin_send_event:<pipeline0>ESC[00m Sending eos event to
src children
GST_STATES gstbin.c:1709:bin_element_is_src:<pipeline0>ESC[00m child sink is
not src
GST_STATES gstbin.c:1709:bin_element_is_src:<pipeline0>ESC[00m child queue01 is
not src
GST_STATES gstbin.c:1709:bin_element_is_src:<pipeline0>ESC[00m child decodebin
is not src
GST_STATES gstbin.c:1709:bin_element_is_src:<pipeline0>ESC[00m child src02 is
src
GST_ELEMENT_PADS gstelement.c:1633:gst_element_send_event:ESC[00m send eos
event on element src02
GST_ELEMENT_PADS gstelement.c:1633:gst_element_send_event:ESC[00m send eos
event on element udpsrc1


When rtspsrc, decodebin2 and queue are in a bin:

GST_EVENT gstevent.c:269:gst_event_new:ESC[00m creating new event
0x7fb904533380 eos 86
GST_ELEMENT_PADS gstelement.c:1633:gst_element_send_event:ESC[00m send eos
event on element pipeline0
bin gstbin.c:2656:gst_bin_send_event:<pipeline0>ESC[00m Sending eos event to
src children
GST_STATES gstbin.c:1709:bin_element_is_src:<pipeline0>ESC[00m child sink is
not src
GST_STATES gstbin.c:1709:bin_element_is_src:<pipeline0>ESC[00m child sourceBin
is not src

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