correct y_offset from libdreamdvd
authorFelix Domke <felix.domke@multimedia-labs.de>
Thu, 16 Jul 2009 21:40:22 +0000 (23:40 +0200)
committerFelix Domke <felix.domke@multimedia-labs.de>
Thu, 16 Jul 2009 21:40:22 +0000 (23:40 +0200)
lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.cpp

index 074b318..917d4cc 100644 (file)
@@ -188,6 +188,7 @@ void eServiceDVD::gotMessage(int /*what*/)
 #ifdef DDVD_SUPPORTS_GET_BLIT_DESTINATION
                                ddvd_get_blit_destination(m_ddvdconfig, &x_offset, &y_offset, &width, &height);
                                eDebug("values got from ddvd: %d %d %d %d", x_offset, y_offset, width, height);
 #ifdef DDVD_SUPPORTS_GET_BLIT_DESTINATION
                                ddvd_get_blit_destination(m_ddvdconfig, &x_offset, &y_offset, &width, &height);
                                eDebug("values got from ddvd: %d %d %d %d", x_offset, y_offset, width, height);
+                               y_offset = -y_offset;
                                width -= x_offset * 2;
                                height -= y_offset * 2;
 #endif
                                width -= x_offset * 2;
                                height -= y_offset * 2;
 #endif