File gst-plugins-base-0.10.36-warnings.patch of Package mingw64-gst-0_10-plugins-base

--- configure.ac	0.10.36
+++ configure.ac	fixed
@@ -923,6 +923,8 @@
 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
 AC_SUBST(GST_PLUGIN_LDFLAGS)
 
+AC_DEFINE(GLIB_DISABLE_DEPRECATION_WARNINGS, , [Disable GLib deprecation warnings])
+
 dnl *** output files ***
 
 AC_CONFIG_FILES(
--- ext/theora/gsttheoradec.c	0.10.36
+++ ext/theora/gsttheoradec.c	fixed
@@ -1069,6 +1069,7 @@
       break;
     default:
       g_assert_not_reached ();
+      return GST_FLOW_ERROR;
   }
 
   result =
--- ext/theora/gsttheoraenc.c	0.10.36
+++ ext/theora/gsttheoraenc.c	fixed
@@ -1029,6 +1029,7 @@
       break;
     default:
       g_assert_not_reached ();
+      return;
   }
 
   /* According to Theora developer Timothy Terriberry, the Theora 
@@ -1181,6 +1182,7 @@
   res = th_encode_ycbcr_in (enc->encoder, ycbcr);
   /* none of the failure cases can happen here */
   g_assert (res == 0);
+  (void)res;
 
   if (enc->multipass_cache_fd
       && enc->multipass_mode == MULTIPASS_MODE_FIRST_PASS) {
--- gst/audioresample/gstaudioresample.c	0.10.36
+++ gst/audioresample/gstaudioresample.c	fixed
@@ -812,6 +812,7 @@
   g_free (buf);
 
   g_assert (in_len == in_processed);
+  (void)in_len;
 }
 
 static void
--- gst-libs/gst/rtsp/gstrtspconnection.c	0.10.36
+++ gst-libs/gst/rtsp/gstrtspconnection.c	fixed
@@ -77,7 +77,9 @@
 #endif
 #include <winsock2.h>
 #include <ws2tcpip.h>
-#define EINPROGRESS WSAEINPROGRESS
+#ifndef EINPROGRESS
+#  define EINPROGRESS WSAEINPROGRESS
+#endif
 #else
 #include <sys/ioctl.h>
 #include <netdb.h>
--- gst-libs/gst/tag/gstxmptag.c	0.10.36
+++ gst-libs/gst/tag/gstxmptag.c	fixed
@@ -174,6 +174,7 @@
       return "rdf:Bag";
     default:
       g_assert_not_reached ();
+      return "";
   }
 }
 
openSUSE Build Service is sponsored by