move #endif of HAVE_GSTREAMER to the end of code
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>
Tue, 7 Oct 2008 15:30:23 +0000 (15:30 +0000)
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>
Tue, 7 Oct 2008 15:30:23 +0000 (15:30 +0000)
lib/service/servicemp3.cpp

index 516ce6e..5181ce6 100644 (file)
@@ -1124,9 +1124,6 @@ void eServiceMP3::gstPoll(const int&)
 }
 
 eAutoInitPtr<eServiceFactoryMP3> init_eServiceFactoryMP3(eAutoInitNumbers::service+1, "eServiceFactoryMP3");
 }
 
 eAutoInitPtr<eServiceFactoryMP3> init_eServiceFactoryMP3(eAutoInitNumbers::service+1, "eServiceFactoryMP3");
-#else
-#warning gstreamer not available, not building media player
-#endif
 
 void eServiceMP3::gstCBsubtitleAvail(GstElement *element, GstBuffer *buffer, GstPad *pad, gpointer user_data)
 {
 
 void eServiceMP3::gstCBsubtitleAvail(GstElement *element, GstBuffer *buffer, GstPad *pad, gpointer user_data)
 {
@@ -1226,3 +1223,7 @@ PyObject *eServiceMP3::getSubtitleList()
 
        return l;
 }
 
        return l;
 }
+
+#else
+#warning gstreamer not available, not building media player
+#endif