From 222c53bf1110082431655015991fbdfdcc705bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 29 Oct 2012 20:25:23 +0100 Subject: [PATCH] Add support for xine 1.2 libraries Thanks to Francois Andriot --- kaffeine/src/player-parts/xine-part/kxinewidget.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp index ab87338..45ca32c 100644 --- a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp +++ b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp @@ -2642,7 +2642,11 @@ void KXineWidget::getAutoplayPlugins(TQStringList& autoPlayList) const bool KXineWidget::getAutoplayPluginURLS(const TQString& plugin, TQStringList& list) { +#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 ) + const char* const* urls = NULL; +#else char** urls = NULL; +#endif int num; int i = 0;