summaryrefslogtreecommitdiffstats
path: root/xine_artsplugin
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-05-08 14:45:30 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 18:07:32 +0200
commit3bb19c4cc14134d669bf83ed399e739bbd3cf113 (patch)
tree5b41d1dd50b68a3f1988948025f530d6a27692db /xine_artsplugin
parent80577600fec6f669d4a50e0bb6c947e9288d4666 (diff)
downloadtdemultimedia-3bb19c4cc14134d669bf83ed399e739bbd3cf113.tar.gz
tdemultimedia-3bb19c4cc14134d669bf83ed399e739bbd3cf113.zip
Add build support for xine-libs >= 1.2.
(cherry picked from commit 15b9ce53c8bfd0a62bf9d9fe3e45e8d27211f00c)
Diffstat (limited to 'xine_artsplugin')
-rw-r--r--xine_artsplugin/xinePlayObject_impl.cpp12
1 files changed, 12 insertions, 0 deletions
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 );
}