After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 623128 - Some network plugins do not work on Windows 2000
Some network plugins do not work on Windows 2000
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Windows
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-29 12:23 UTC by Xavi Artigas
Modified: 2012-05-24 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to include WSPiApi.h on some plugins and libraries. (1.63 KB, patch)
2010-06-29 12:23 UTC, Xavi Artigas
none Details | Review

Description Xavi Artigas 2010-06-29 12:23:00 UTC
Created attachment 164882 [details] [review]
Patch to include WSPiApi.h on some plugins and libraries.

Some network libraries and plugins rely on symbols of WS2_32.DLL (namely getaddrinfo and freeaddrinfo) which only exist on Windows XP and later.
The inclusion of WSPiApi.h (present in the Windows SDK) allows these plugins to also work on the older Windows 2000.

The provided patch fixes:
gst-plugins-base/gst-libs/gst/rtsp
gst-plugins-base/gst-libs/gst/sdp
gst-plugins-good/gst/udp
gst-plugins-bad/gst/sdp

The mechanism is explained in this MSDN article:
http://msdn.microsoft.com/en-us/library/ms738520(VS.85).aspx
Section "Support for getaddrinfo on Windows 2000 and older versions "
Comment 1 Tim-Philipp Müller 2012-05-24 16:45:40 UTC
Hrm, sorry for letting this rather simple-looking patch sit in bugzilla for so long.

However, at this point I think it's probably best to just drop this. I believe the GLib folks have since made a choice to not support such old Windows versions any more, so even if we committted it now, the situation would probably not be great. (And who knows what other code of ours added since would need to be updated as well).

In 0.11/1.0 a lot of network functionality has been ported to GLib's gio network stack, so fixing things in GLib for that is the right approach.