summaryrefslogtreecommitdiff
path: root/avmedia/source/gstreamer/gstplayer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/gstreamer/gstplayer.hxx')
-rw-r--r--avmedia/source/gstreamer/gstplayer.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.hxx b/avmedia/source/gstreamer/gstplayer.hxx
index c57f60a7802f..9bc0e3eb4cb5 100644
--- a/avmedia/source/gstreamer/gstplayer.hxx
+++ b/avmedia/source/gstreamer/gstplayer.hxx
@@ -20,6 +20,8 @@
#ifndef INCLUDED_AVMEDIA_SOURCE_GSTREAMER_GSTPLAYER_HXX
#define INCLUDED_AVMEDIA_SOURCE_GSTREAMER_GSTPLAYER_HXX
+#include <config_vclplug.h>
+
#include <osl/conditn.hxx>
#include "gstcommon.hxx"
@@ -27,7 +29,7 @@
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/basemutex.hxx>
-#if defined(ENABLE_GTKSINK)
+#if ENABLE_GTK3
# include <gtk/gtk.h>
#endif
@@ -83,7 +85,7 @@ private:
// Add elements and pipeline here
GstElement* mpPlaybin; // the playbin is also a pipeline
GstElement* mpVolumeControl; // the playbin is also a pipeline
-#if defined(ENABLE_GTKSINK)
+#if ENABLE_GTK3
GtkWidget* mpGtkWidget;
#endif
bool mbUseGtkSink;