[gstreamer-bugs] [Bug 544293] New: rtspsrc / gstpoll regression

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jul 23 01:31:26 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=544293

  GStreamer | gstreamer (core) | Ver: HEAD CVS
           Summary: rtspsrc / gstpoll regression
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: damien.lespiau at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


In version 0.10.20 gstpoll has a new, windows specific, gstpoll implementation
instead of relying on winsock's select(). rtsp does not work any more with this
and times out in the rtsp code (waiting for the socket to be ready for
writing).

I've instrumented the gstpoll code to show the API called by the rtsp/rtcp/udp
code and I attach this log as first comment.

I've somehow managed to "fix" the problem by calling gst_poll_fd_ignored()
before actually writing in the rtsp socket but it's clearly not the intended
use of the function. The patch "solving" the problem is attached as second
comment

To reproduce the issue, you can setup a rtsp server with vlc for instance:
$ vlc --ttl 10 -vvv -I  telnet --telnet-password gst --rtsp-host 0.0.0.0:5554
$ telnet 127.0.0.1 4212 (passord gst)
> new test vod enabled
> setup test input /home/damien/samples/xxxxxxxx.mpeg

gst-launch-0.10.exe  --gst-debug-no-color
--gst-plugin-path=c:\xxxxxxxx\lib\gstreamer-0.10 rtspsrc
location="rtsp://10.250.154.29:5554/test" ! decodebin ! ffmpegcolorspace !
directdrawsink

I think it would be usefull to Cc. Ole André but I don't want to be gross, so
let's hope he'll discover this bug report quickly :p


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




More information about the Gstreamer-bugs mailing list