From 474f214fdb5c9439272e3d3eb4c363d7cdee2068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 31 May 2008 10:35:43 +0000 Subject: [PATCH] Print a warning in case the video buffer is bigger than what should be displayed, does not seem to be the reason for the problem I am observing with one clip I have, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25732 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp b/src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp index e5b717af6d..31059f6440 100644 --- a/src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp +++ b/src/apps/mediaplayer/supplier/MediaTrackVideoSupplier.cpp @@ -378,5 +378,11 @@ MediaTrackVideoSupplier::_SwitchFormat(color_space format, int32 bytesPerRow) fVideoTrack->DecodedFormat(&fFormat); } } + + if (fFormat.u.raw_video.last_active != height - 1) { + printf("should skip %ld lines at bottom!\n", + (height - 1) - fFormat.u.raw_video.last_active); + } + return ret; }