summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/videoWindow.cpp6
-rw-r--r--src/app/xineEngine.cpp2
2 files changed, 4 insertions, 4 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 <xine.h>
#include "xineEngine.h"
#include "xineScope.h"
-
+#include <unistd.h>
#include <cstdlib>