[gstreamer-bugs] [Bug 577326] New: tcpclientsrc stops working if set to PLAYING, PAUSED and PLAYING again

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Mar 30 09:32:19 PDT 2009


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

  GStreamer | gst-plugins-base | Ver: git
           Summary: tcpclientsrc stops working if set to PLAYING, PAUSED and
                    PLAYING again
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: luca.ognibene at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Reproduce:
 * terminal 1: gst-launch-0.10 videotestsrc ! video/x-raw-yuv,framerate=1/1 !
tcpserversink port=1000
 * terminal 2: python ayt.py

You'll see that tcpclientsrc doesn't receive buffers after second PLAYING.
I think the problem is that gst_poll_set_flushing(TRUE) is called in
gst_tcp_client_src_unlock while going to PAUSED but
gst_poll_set_flushing(FALSE) is neved called. Maybe it should be called when
needed in _create ?

ayt.py is a program that creates a tcpclientsrc port=%d ! fakesink name=f
pipeline, set it to PLAYING, wait 3s, set it to PAUSED, wait 3s and set it to
PLAYING again.


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




More information about the Gstreamer-bugs mailing list