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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user