[gstreamer-bugs] [Bug 602312] multiudpsink Windows 7 64 bits

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Mar 9 15:27:01 PST 2010


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

--- Comment #3 from Richard Spiers <richard.spiers at gmail.com> 2010-03-09 23:26:57 UTC ---
Some more information:

Relevant code section is at http://pastebin.com/b4ss2uw6

On my win 7 machine, the following sizes are in use:

len is 16, sizeof(struct sockaddr) is 16, sizeof(struct sockaddr_storage) is
128, sizeof(struct sockaddr_in) is 16

I'm not sure if len should be 16 or 128.
http://msdn.microsoft.com/en-us/library/ms740148(VS.85).aspx says the last
parameter is supposed to be the size, in bytes, of the address pointed to by
the to parameter, which in this case is &client->theiraddr, a struct
sockaddr_storage.

There seems to be two issues here - one of sizes and one of ipv4 vs ipv6.

IPv4/IPv6: There also seems to be something funny going on between IPv4 and
IPv6. That seems to be the cause of the WSAEFAULT errors. ::1 works as an
address whereas 127.0.0.1 doesn't. Logs at http://pastebin.com/i2bVZEug

Then for the size issue, compare gst-launch-0.10 videotestsrc ! udpsink
host=::1 port=3000 and gst-launch-0.10 audiotestsrc ! udpsink host=::1
port=3000. The audiotestsrc one tries to send 2048 bytes and succeeds, whereas
the videotestsrc one tries to send 153600 bytes and fails with error 10040
(WSAEMSGSIZE). Logs at  http://pastebin.com/RUyqCei0

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