[gstreamer-bugs] [Bug 562794] New: rtspsrc fails to create a socket on Win32 sometimes.

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Nov 30 12:08:32 PST 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=562794

  GStreamer | gst-plugins-base | Ver: HEAD CVS
           Summary: rtspsrc fails to create a socket on Win32 sometimes.
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: iwings at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
gstrtspconnection.c contains code calling WSAStartup()/WSACleanup() which is
not ballanced well.
So it could lock up whole WinSock.


Steps to reproduce:
1. set up a pipeline containing rtspsrc.
2. let it run
3. if pipeline reports an error on its bus, set it to GST_STATE_NULL
4. wait a while, and issue GST_STATE_PLAYING


Actual results:
After several tries, rtspsrc fails to create a socket because WSAStartup() is
not called.

Expected results:


Does this happen every time?
Yes, I think

Other information:
In my opinion, WSAStartup/Cleanup should not be called from plugins at all.


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




More information about the Gstreamer-bugs mailing list