summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-12-10 11:26:06 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-12-10 11:26:06 +0100
commitb3de4cc9cd6354ed9ed9c2b04bc536ca8f83c4a9 (patch)
tree5ab390c67518fc4fa2db641977d5f92802b75de1
parentce94b2c2b91b6db190c121860e12a6afafce7ae1 (diff)
suppress more warnings
-rw-r--r--ext/raw1394/gst1394probe.c2
-rw-r--r--ext/soup/gstsouphttpsrc.c2
-rw-r--r--gst/debugutils/rndbuffersize.c8
3 files changed, 8 insertions, 4 deletions
diff --git a/ext/raw1394/gst1394probe.c b/ext/raw1394/gst1394probe.c
index ee51ba0c6..a457ef657 100644
--- a/ext/raw1394/gst1394probe.c
+++ b/ext/raw1394/gst1394probe.c
@@ -17,6 +17,8 @@
* Boston, MA 02111-1307, USA.
*/
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
#include <libavc1394/avc1394.h>
#include <libavc1394/avc1394_vcr.h>
#include <libavc1394/rom1394.h>
diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c
index aa019ee24..b1401c520 100644
--- a/ext/soup/gstsouphttpsrc.c
+++ b/ext/soup/gstsouphttpsrc.c
@@ -67,6 +67,8 @@
* </refsect2>
*/
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/gst/debugutils/rndbuffersize.c b/gst/debugutils/rndbuffersize.c
index 247e47df0..33c80ddee 100644
--- a/gst/debugutils/rndbuffersize.c
+++ b/gst/debugutils/rndbuffersize.c
@@ -22,6 +22,8 @@
* This element pulls buffers with random sizes from the source.
*/
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -109,10 +111,8 @@ gst_rnd_buffer_size_base_init (gpointer g_class)
{
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_add_static_pad_template (gstelement_class,
- &sink_template);
- gst_element_class_add_static_pad_template (gstelement_class,
- &src_template);
+ gst_element_class_add_static_pad_template (gstelement_class, &sink_template);
+ gst_element_class_add_static_pad_template (gstelement_class, &src_template);
gst_element_class_set_details_simple (gstelement_class, "Random buffer size",
"Testing", "pull random sized buffers",