From 16732ae7a4ed8f636c64bf9466c41098a7c8b533 Mon Sep 17 00:00:00 2001 From: Dario Casalinuovo Date: Tue, 5 Apr 2016 00:30:38 +0200 Subject: [PATCH] VideoWindow consumer: Fix connection * The integer overflowed for some reason. * Fixes #9439. --- src/add-ons/media/media-add-ons/videowindow/VideoNode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add-ons/media/media-add-ons/videowindow/VideoNode.cpp b/src/add-ons/media/media-add-ons/videowindow/VideoNode.cpp index 3f1c77799b..d8b7fe9e97 100644 --- a/src/add-ons/media/media-add-ons/videowindow/VideoNode.cpp +++ b/src/add-ons/media/media-add-ons/videowindow/VideoNode.cpp @@ -207,8 +207,8 @@ VideoNode::AcceptFormat(const media_destination &dst, media_format *format) // or the requested colorspace if not B_YCbCr422 // and we need to tell the node upstream of our choice - BRect frame(0, 0, format->u.raw_video.display.line_width - 1, - format->u.raw_video.display.line_count - 1); + BRect frame(0, 0, format->u.raw_video.display.line_width, + format->u.raw_video.display.line_count); DeleteBuffers(); status_t err;