GNOME Bugzilla – Bug 345295
[PATCH] gstreamer/libs/gst/net for Windows
Last modified: 2006-09-05 08:35:44 UTC
Package gstreamer libs/get/net doesn't compile with windows
-added nessessary Windows network stuff
-replaced unix sockets with pipe.
-close(netsocket) replaced with closesocket()
-added inet_aton function
-tried to make it work with minimal modification to original
There is needed testing. Only test was to get farsight compile and transfer audio with that.
It has own directory and can easily added to gstreamer/libs/gst/ dir for testing.
Created attachment 67613 [details]
as said on IRC, needs to be a complete patch with proper #ifdef etc..
Created attachment 67712 [details] [review]
i think this is the patch.
(In reply to comment #3)
> Created an attachment (id=67712) 
> i think this is the patch.
This is not the right patch. Wrong place. Sorry.
Do you have the right patch somewhere then? :)
(In reply to comment #5)
> Do you have the right patch somewhere then? :)
I have had holiday and have no time to make anything. Try to make it asap.
Created attachment 72018 [details] [review]
Support for Windows
Not sure about CYGWIN support. Is cygwin recognized like G_OS_WIN32 with glib. Code is not tested, just cross-compiled with MinGW.
* libs/gst/net/gstnetclientclock.c: (inet_aton),
* libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
* libs/gst/net/gstnettimeprovider.c: (inet_aton),
Make stuff compile on windows. Fixes #345295.