summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",