GNOME Bugzilla – Bug 316203
MinGW: udp and rtsp plugin should be disabled on windows
Last modified: 2006-05-03 02:22:04 UTC
Plugins debug, rtsp and udp from gst-plugins-good do not compile on Windows. The reason is that debug depends on sys/mman and rtsp, udp depend on networking, which needs to be ported to winsock.
I've fixed this for debug: 2005-10-07 Tim-Philipp Muller <tim at centricular dot net> * configure.ac: Add check for mmap * gst/debug/Makefile.am: Only compile efence plugin on systems that have mmap. but the network stuff in rtsp/udp still needs porting to Winsock (or disabling, dunno).
Created attachment 53476 [details] [review] Patch disabling compilation of RTSP and UDP on Windows This patch disables these two plugins on Windows in the same way as c++ dependent plugins are disabled in gst-pplugins-base. It would be better to port these plugins to winsock, but I am not motivated enough to do so in the moment.
The patch doesn't look entirely correct to me, as gst-plugins-good/gst/Makefile.am contains SUBDIRS = $(GST_PLUGINS_SELECTED) DIST_SUBDIRS = $(GST_PLUGINS_ALL) meaning 'make dist' wouldn't dist the udp and rtsp subdirs when run on win32. Should be easy to fix, just need to check what the prefered way is.
I know this patch is not 100% correct. But c++ dependent plugins were disabled in exactly the same way in gst-plugins-base in the time of this patch the creation. I have not seen any mechanism in other configure scripts to disable plugins from gst (they are probably supposed to always compile).
Fixed this slightly differently (still ugly, but should work): 2006-03-17 Tim-Philipp Müller <tim at centricular dot net> * configure.ac: Don't compile udp and rtsp plugins on win32 (mingw) or other systems that don't have <sys/socket.h> for some reason (#316203).