git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60727
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
-// Use GStreamer for Unix.
-//
-// Default is 0 as this requires a lot of dependencies which might not be
-// available.
-//
-// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
-#define wxUSE_GSTREAMER 0
-
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
-// Use GStreamer for Unix.
-//
-// Default is 0 as this requires a lot of dependencies which might not be
-// available.
-//
-// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
-#define wxUSE_GSTREAMER 0
-
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
-// Use GStreamer for Unix.
-//
-// Default is 0 as this requires a lot of dependencies which might not be
-// available.
-//
-// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
-#define wxUSE_GSTREAMER 0
-
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
-// Use GStreamer for Unix.
-//
-// Default is 0 as this requires a lot of dependencies which might not be
-// available.
-//
-// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
-#define wxUSE_GSTREAMER 0
-
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
-// Use GStreamer for Unix.
-//
-// Default is 0 as this requires a lot of dependencies which might not be
-// available.
-//
-// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
-#define wxUSE_GSTREAMER 0
-
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
-// Use GStreamer for Unix.
-//
-// Default is 0 as this requires a lot of dependencies which might not be
-// available.
-//
-// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
-#define wxUSE_GSTREAMER 0
-
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
-// Use GStreamer for Unix.
-//
-// Default is 0 as this requires a lot of dependencies which might not be
-// available.
-//
-// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
-#define wxUSE_GSTREAMER 0
-
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
// Recommended setting: 1
#define wxUSE_MEDIACTRL 1
-// Use GStreamer for Unix.
-//
-// Default is 0 as this requires a lot of dependencies which might not be
-// available.
-//
-// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
-#define wxUSE_GSTREAMER 0
-
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
// Use wxWidget's XRC XML-based resource system. Recommended.
//
// Default is 1
# endif
# endif
#endif /* wxUSE_CONSOLE_EVENTLOOP */
# endif
# endif
#endif /* wxUSE_CONSOLE_EVENTLOOP */
+
+#if wxUSE_GSTREAMER
+# if !wxUSE_THREADS
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "GStreamer requires threads"
+# else
+# undef wxUSE_GSTREAMER
+# define wxUSE_GSTREAMER 0
+# endif
+# endif
+#endif /* wxUSE_GSTREAMER */
#define wxUSE_UNICODE_UTF8 0
#define wxUSE_UTF8_LOCALE_ONLY 0
#define wxUSE_UNICODE_UTF8 0
#define wxUSE_UTF8_LOCALE_ONLY 0
+/*
+ Use GStreamer for Unix.
+
+ Default is 0 as this requires a lot of dependencies which might not be
+ available.
+
+ Recommended setting: 1 (wxMediaCtrl won't work by default without it).
+ */
+#define wxUSE_GSTREAMER 0
+
/* --- start MSW options --- */
#ifndef wxUSE_UNICODE_MSLU
/* --- start MSW options --- */
#ifndef wxUSE_UNICODE_MSLU