qtmobility/plugins/multimedia/gstreamer/gstreamer.pro
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 5 453da2cfceef
--- a/qtmobility/plugins/multimedia/gstreamer/gstreamer.pro	Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/plugins/multimedia/gstreamer/gstreamer.pro	Mon May 03 13:18:40 2010 +0300
@@ -26,6 +26,10 @@
     gstreamer-audio-0.10 \
     gstreamer-video-0.10
 
+maemo* {
+  PKGCONFIG +=gstreamer-plugins-bad-0.10
+}
+
 # Input
 HEADERS += \
     qgstreamermessage.h \
@@ -71,7 +75,12 @@
 }
 
 include(mediaplayer/mediaplayer.pri)
-include(mediacapture/mediacapture.pri)
+!maemo* {
+    include(mediacapture/mediacapture.pri)
+} else {
+    include(mediacapture/maemo/mediacapture_maemo.pri)
+    DEFINES += GST_USE_UNSTABLE_API #prevents warnings because of unstable photography API 
+}
 
 target.path=$$QT_MOBILITY_PREFIX/plugins/mediaservice
 INSTALLS+=target