From 7ccb387e85a5d8deb4abbeaf7eba336ea610c5a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 27 Apr 2013 11:24:38 +0100 Subject: [PATCH] udp: log WARNING debug message if UDP multicast is likely to be broken --- gst/udp/gstudp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gst/udp/gstudp.c b/gst/udp/gstudp.c index 66d3f2efaa..eb021122e9 100644 --- a/gst/udp/gstudp.c +++ b/gst/udp/gstudp.c @@ -31,6 +31,12 @@ static gboolean plugin_init (GstPlugin * plugin) { + /* not using GLIB_CHECK_VERSION on purpose, run-time version matters */ + if (glib_check_version (2, 36, 0) != NULL) { + GST_WARNING ("Your GLib version is < 2.36, UDP multicasting support may " + "be broken, see https://bugzilla.gnome.org/show_bug.cgi?id=688378"); + } + /* register info of the netaddress metadata so that we can use it from * multiple threads right away. Note that the plugin loading is always * serialized */