diff options
author | Slávek Banko <[email protected]> | 2012-10-29 20:25:23 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-10-29 20:25:23 +0100 |
commit | 222c53bf1110082431655015991fbdfdcc705bde (patch) | |
tree | 6aa733146e4f250d6bd2a3ec2f46820ac2675986 | |
parent | 518a254f4801a6277521b2baa7f4753456a74a7f (diff) | |
download | kaffeine-222c53bf1110082431655015991fbdfdcc705bde.tar.gz kaffeine-222c53bf1110082431655015991fbdfdcc705bde.zip |
Add support for xine 1.2 libraries
Thanks to Francois Andriot
-rw-r--r-- | kaffeine/src/player-parts/xine-part/kxinewidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |