Add build support for xine-libs >= 1.2.

pull/1/head
Darrell Anderson 13 years ago
parent 11215d8577
commit 15b9ce53c8

@ -698,7 +698,11 @@ void xinePlayObject_impl::eventLoop()
if (stream != 0) 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, xine_gui_send_vo_data( stream,
#endif
XINE_GUI_SEND_EXPOSE_EVENT, XINE_GUI_SEND_EXPOSE_EVENT,
&event ); &event );
} }
@ -714,7 +718,11 @@ void xinePlayObject_impl::eventLoop()
if (stream != 0) 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, xine_gui_send_vo_data( stream,
#endif
XINE_GUI_SEND_COMPLETION_EVENT, XINE_GUI_SEND_COMPLETION_EVENT,
&event ); &event );
} }
@ -748,7 +756,11 @@ void xineVideoPlayObject_impl::x11WindowId( long window )
{ {
resizeNotify(); 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, xine_gui_send_vo_data( stream,
#endif
XINE_GUI_SEND_DRAWABLE_CHANGED, XINE_GUI_SEND_DRAWABLE_CHANGED,
(void *)window ); (void *)window );
} }

Loading…
Cancel
Save