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] gstreamer winnet
as said on IRC, needs to be a complete patch with proper #ifdef etc..
Created attachment 67712 [details] [review] patch i think this is the patch.
(In reply to comment #3) > Created an attachment (id=67712) [edit] > patch > > 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? :) > No. Sorry. 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), (gst_net_client_clock_init), (gst_net_client_clock_finalize), (gst_net_client_clock_do_select), (gst_net_client_clock_new): * libs/gst/net/gstnetclientclock.h: * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send): * libs/gst/net/gstnettimepacket.h: * libs/gst/net/gstnettimeprovider.c: (inet_aton), (gst_net_time_provider_init), (gst_net_time_provider_finalize), (gst_net_time_provider_thread), (gst_net_time_provider_new): * libs/gst/net/gstnettimeprovider.h: Make stuff compile on windows. Fixes #345295.