summaryrefslogtreecommitdiff
path: root/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp')
-rw-r--r--src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp b/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp
index 59a039f8d..da2878aeb 100644
--- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp
+++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp
@@ -85,7 +85,11 @@ QMediaServiceProviderHint::Features QGstreamerPlayerServicePlugin::supportedFeat
const QByteArray &service) const
{
if (service == Q_MEDIASERVICE_MEDIAPLAYER)
- return QMediaServiceProviderHint::StreamPlayback | QMediaServiceProviderHint::VideoSurface;
+ return
+#ifdef HAVE_GST_APPSRC
+ QMediaServiceProviderHint::StreamPlayback |
+#endif
+ QMediaServiceProviderHint::VideoSurface;
else
return QMediaServiceProviderHint::Features();
}