From 88aa431c9d79bad942de04f4b28954b428079fd1 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Sat, 13 Jun 2020 16:36:18 +0200 Subject: Add support for xinelib-1.2, patch is from anixx@opensuse.org taken from the kde3 OpenSuse repo, package kde3-codeine-1.0.1-52.73.src.rpm http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_Tumbleweed/src Signed-off-by: gregory guy --- src/app/videoWindow.cpp | 6 +++--- src/app/xineEngine.cpp | 2 +- src/part/videoWindow.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/videoWindow.cpp b/src/app/videoWindow.cpp index 0affed5..0e7d19f 100644 --- a/src/app/videoWindow.cpp +++ b/src/app/videoWindow.cpp @@ -292,7 +292,7 @@ VideoWindow::event( TQEvent *e ) x11Rect.w = 0; x11Rect.h = 0; - xine_gui_send_vo_data( m_stream, XINE_GUI_SEND_TRANSLATE_GUI_TO_VIDEO, (void*)&x11Rect ); + xine_port_send_gui_data( m_videoPort, XINE_GUI_SEND_TRANSLATE_GUI_TO_VIDEO, (void*)&x11Rect ); xineEvent.type = e->type() == TQEvent::MouseMove ? XINE_EVENT_INPUT_MOUSE_MOVE : XINE_EVENT_INPUT_MOUSE_BUTTON; xineEvent.data = &xineInput; @@ -331,8 +331,8 @@ bool VideoWindow::x11Event( XEvent *e ) { if( m_stream && e->type == Expose && e->xexpose.count == 0 ) { - xine_gui_send_vo_data( - m_stream, + xine_port_send_gui_data( + m_videoPort, XINE_GUI_SEND_EXPOSE_EVENT, e ); diff --git a/src/app/xineEngine.cpp b/src/app/xineEngine.cpp index 6691288..9a7b709 100644 --- a/src/app/xineEngine.cpp +++ b/src/app/xineEngine.cpp @@ -18,7 +18,7 @@ #include #include "xineEngine.h" #include "xineScope.h" - +#include #include diff --git a/src/part/videoWindow.cpp b/src/part/videoWindow.cpp index 97b87cd..53cd0dd 100644 --- a/src/part/videoWindow.cpp +++ b/src/part/videoWindow.cpp @@ -176,7 +176,7 @@ bool VideoWindow::x11Event( XEvent *e ) { if( e->type == Expose && e->xexpose.count == 0 ) { - xine_gui_send_vo_data( m_stream, XINE_GUI_SEND_EXPOSE_EVENT, e ); + xine_port_send_gui_data( m_videoPort, XINE_GUI_SEND_EXPOSE_EVENT, e ); return true; } -- cgit v1.2.1