diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/dxr3/video_out_dxr3.c | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -17,6 +17,8 @@ xine-lib (1-rc4) * fix 24 bpp RGB output - may affect some users of xshm and fb * generate events for "Permission denied" and "File not found" in the http and file plugins + * DXR3: fix menu highlight areas in letterboxed overlay mode with + pan&scan content xine-lib (1-rc3c) * fix the deadlock with non-seekable input plugins diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c index 59f996ea5..083f19d11 100644 --- a/src/dxr3/video_out_dxr3.c +++ b/src/dxr3/video_out_dxr3.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_dxr3.c,v 1.100 2004/04/10 15:29:57 mroi Exp $ + * $Id: video_out_dxr3.c,v 1.101 2004/04/15 14:42:35 mroi Exp $ */ /* mpeg1 encoding video out plugin for the dxr3. @@ -1197,6 +1197,11 @@ static int dxr3_gui_data_exchange(vo_driver_t *this_gen, int data_type, void *da rect->y = y1 - this->top_bar; rect->w = x2 - x1; rect->h = y2 - y1; + if (this->overlay_enabled && this->pan_scan) { + /* in this mode, the image is distorted, so we have to modify */ + rect->x = rect->x * 3 / 4 + this->scale.delivered_width / 8; + rect->w = rect->w * 3 / 4; + } } break; case XINE_GUI_SEND_VIDEOWIN_VISIBLE: |