From 7e65acc0a2525c53b4e89b79b9c87192ade9df4d Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Tue, 8 May 2012 14:45:30 -0500 Subject: Add build support for xine-libs >= 1.2. Add build support for xine-libs >= 1.2. Thanks to L0ner. --- xine_artsplugin/xinePlayObject_impl.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/xine_artsplugin/xinePlayObject_impl.cpp b/xine_artsplugin/xinePlayObject_impl.cpp index 21e3dff5..a7f6defd 100644 --- a/xine_artsplugin/xinePlayObject_impl.cpp +++ b/xine_artsplugin/xinePlayObject_impl.cpp @@ -698,7 +698,11 @@ void xinePlayObject_impl::eventLoop() if (stream != 0) { +#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 ) + xine_port_send_gui_data( vo_port, +#else xine_gui_send_vo_data( stream, +#endif XINE_GUI_SEND_EXPOSE_EVENT, &event ); } @@ -714,7 +718,11 @@ void xinePlayObject_impl::eventLoop() if (stream != 0) { +#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 ) + xine_port_send_gui_data( vo_port, +#else xine_gui_send_vo_data( stream, +#endif XINE_GUI_SEND_COMPLETION_EVENT, &event ); } @@ -748,7 +756,11 @@ void xineVideoPlayObject_impl::x11WindowId( long window ) { resizeNotify(); +#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 ) + xine_port_send_gui_data( vo_port, +#else xine_gui_send_vo_data( stream, +#endif XINE_GUI_SEND_DRAWABLE_CHANGED, (void *)window ); } -- cgit v1.2.1