[gstreamer-bugs] [Bug 612751] New: possible regression in udpsink when external sockfd is used

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Mar 12 15:43:38 PST 2010


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

           Summary: possible regression in udpsink when external sockfd is
                    used
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: le.businessman at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


In my application (http://svn.sat.qc.ca/trac/scenic/) I create my own sockets
and pass them to udpsink elements via the sockfd property. Until recently this
worked fine, now however, i get this failure message:

gstmultiudpsink.c(808): gst_multiudpsink_configure_client ():
/GstPipeline:pipeline/GstUDPSink:udpsink1:
Could not set TTL socket option (97): Address family not supported by protocol

I think commit 7f980d28aa23c64dce423c0c0f994b2d136fc7fe might be the one that
introduced this issue.

My guess is that the sink->ss_family variable is never being updated with the
value of the socket's family when it's an external socket.

Here's the output of my program up until it dies:

Creating socket for host 127.0.0.1, port 10000, IPV4 Socket
/GstPipeline:pipeline/GstUDPSink:udpsink0: port = 10000
/GstPipeline:pipeline/GstUDPSink:udpsink0: host = "127.0.0.1"
/GstPipeline:pipeline/GstUDPSink:udpsink0: sockfd = 6

Creating socket for host 127.0.0.1, port 10001, IPV4 Socket
/GstPipeline:pipeline/GstUDPSink:udpsink1: async = FALSE
/GstPipeline:pipeline/GstUDPSink:udpsink1: sync = FALSE
/GstPipeline:pipeline/GstUDPSink:udpsink1: port = 10001
/GstPipeline:pipeline/GstUDPSink:udpsink1: host = "127.0.0.1"
/GstPipeline:pipeline/GstUDPSink:udpsink1: sockfd = 7

Creating socket for port 10005, IPV4 Socket
/GstPipeline:pipeline/GstUDPSrc:udpsrc0: port = 10005
/GstPipeline:pipeline/GstUDPSrc:udpsrc0: sockfd = 8
GStreamer-CRITICAL **: Could not add signal watch to bus bus1
Debug details: gstmultiudpsink.c(808): gst_multiudpsink_configure_client ():
/GstPipeline:pipeline/GstUDPSink:udpsink1:
Could not set TTL socket option (97): Address family not supported by protocol

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