ext: Fix some compilation errors caused by circular header includes
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 12 Dec 2012 17:22:31 +0000 (17:22 +0000)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 12 Dec 2012 17:22:31 +0000 (17:22 +0000)
ext/alsa/gstalsasink.h
ext/alsa/gstalsasrc.h
ext/theora/gsttheoraenc.c

index e1cd5cf..3a64a92 100644 (file)
@@ -24,7 +24,7 @@
 #define __GST_ALSASINK_H__
 
 #include <gst/gst.h>
-#include <gst/audio/gstaudiosink.h>
+#include <gst/audio/audio.h>
 #include <alsa/asoundlib.h>
 
 G_BEGIN_DECLS
index 32c4779..57e2701 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef __GST_ALSASRC_H__
 #define __GST_ALSASRC_H__
 
-#include <gst/audio/gstaudiosrc.h>
+#include <gst/audio/audio.h>
 #include "gstalsa.h"
 
 G_BEGIN_DECLS
index 8e5303d..3af2b6c 100644 (file)
@@ -58,8 +58,6 @@
 #include "config.h"
 #endif
 
-#include "gsttheoraenc.h"
-
 #include <string.h>
 #include <stdlib.h>             /* free */
 
@@ -67,6 +65,8 @@
 #include <gst/video/video.h>
 #include <gst/video/gstvideometa.h>
 
+#include "gsttheoraenc.h"
+
 #define GST_CAT_DEFAULT theoraenc_debug
 GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);