[haiku-appserver] Re: Overlay support

  • From: Korli <korli@xxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Sun, 23 Apr 2006 13:24:44 +0200

Rudolf,

Rudolf wrote:
OK, I am taking your word for this, since I dont' run Haiku that regular yet: though it seems rather stable now :)
And, lots of apps (start to) work..
Well, bitmap output in VLC doesn't work: just a black rectangle is shown (it used to work though). Rings a bell? :)
I reproduced the problem last week and found this workaround but didn't find out the real issue.

Index: View.cpp
===================================================================
--- View.cpp    (revision 17173)
+++ View.cpp    (working copy)
@@ -2217,6 +2217,9 @@
void
BView::DrawBitmapAsync(const BBitmap *bitmap, BRect srcRect, BRect dstRect)
{
+       // TODO Workaround for VLC !!
+       if (isnan(dstRect.left))
+               dstRect.left = 0.0f;
       if (!bitmap || !srcRect.IsValid() || !dstRect.IsValid())
               return;


HTH, JÃrÃme




Other related posts: