Add support for xine 1.2 libraries

Thanks to Francois Andriot
pull/1/head
Slávek Banko 12 years ago
parent 518a254f48
commit 222c53bf11

@ -2642,7 +2642,11 @@ void KXineWidget::getAutoplayPlugins(TQStringList& autoPlayList) const
bool KXineWidget::getAutoplayPluginURLS(const TQString& plugin, TQStringList& list) 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; char** urls = NULL;
#endif
int num; int num;
int i = 0; int i = 0;

Loading…
Cancel
Save