File codeine-xine12.patch of Package codeine

diff -wruN codeine-1.0.1.orig/src/app/videoWindow.cpp codeine-1.0.1/src/app/videoWindow.cpp
--- codeine-1.0.1.orig/src/app/videoWindow.cpp	2006-04-02 18:50:01.000000000 +0400
+++ codeine-1.0.1/src/app/videoWindow.cpp	2012-07-01 15:14:36.440878393 +0400
@@ -292,7 +292,7 @@
          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() == QEvent::MouseMove ? XINE_EVENT_INPUT_MOUSE_MOVE : XINE_EVENT_INPUT_MOUSE_BUTTON;
          xineEvent.data        = &xineInput;
@@ -331,8 +331,8 @@
 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 -wruN codeine-1.0.1.orig/src/part/videoWindow.cpp codeine-1.0.1/src/part/videoWindow.cpp
--- codeine-1.0.1.orig/src/part/videoWindow.cpp	2006-05-09 06:54:12.000000000 +0400
+++ codeine-1.0.1/src/part/videoWindow.cpp	2012-07-01 16:25:42.205879208 +0400
@@ -176,7 +176,7 @@
 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;
    }
 
openSUSE Build Service is sponsored by