Emotion: add ecore_x stuff when needed
authorcaro <caro>
Fri, 30 Dec 2011 13:19:02 +0000 (13:19 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 30 Dec 2011 13:19:02 +0000 (13:19 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@66690 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/gstreamer/emotion_alloc.c
src/modules/gstreamer/emotion_convert.c
src/modules/gstreamer/emotion_fakeeos.c
src/modules/gstreamer/emotion_sink.c

index 70922a0..05062bd 100644 (file)
 #include <gst/video/video.h>
 #include <gst/video/gstvideosink.h>
 
+#ifdef HAVE_ECORE_X
+# include <Ecore_X.h>
+# include <Ecore_Evas.h>
+# ifdef HAVE_XOVERLAY_H
+#  include <gst/interfaces/xoverlay.h>
+# endif
+#endif
+
 #include "Emotion.h"
 #include "emotion_gstreamer.h"
 
index 0b36687..1bfc19a 100644 (file)
 #include <gst/video/video.h>
 #include <gst/video/gstvideosink.h>
 
+#ifdef HAVE_ECORE_X
+# include <Ecore_X.h>
+# include <Ecore_Evas.h>
+# ifdef HAVE_XOVERLAY_H
+#  include <gst/interfaces/xoverlay.h>
+# endif
+#endif
+
 #include "Emotion.h"
 #include "emotion_gstreamer.h"
 
index a2f3595..a9e1bbe 100644 (file)
 #include <gst/video/video.h>
 #include <gst/video/gstvideosink.h>
 
+#ifdef HAVE_ECORE_X
+# include <Ecore_X.h>
+# include <Ecore_Evas.h>
+# ifdef HAVE_XOVERLAY_H
+#  include <gst/interfaces/xoverlay.h>
+# endif
+#endif
+
 #include "Emotion.h"
 #include "emotion_gstreamer.h"
 
index 678396e..5f1d26f 100644 (file)
 #include <gst/video/gstvideosink.h>
 #include <gst/video/video.h>
 
+#ifdef HAVE_ECORE_X
+# include <Ecore_X.h>
+# include <Ecore_Evas.h>
+# ifdef HAVE_XOVERLAY_H
+#  include <gst/interfaces/xoverlay.h>
+# endif
+#endif
+
 #include "Emotion.h"
 #include "emotion_private.h"
 #include "emotion_gstreamer.h"