> -------------------- cut ---------------------
>  cimage_orig = _avistream->GetFrame();
>  // create RGB-CImage if not yet created
>  if(cimage == 0){
>    BitmapInfo *bi = new BitmapInfo();
>    bi->biSize=sizeof(BITMAPINFOHEADER);
>    bi->biWidth=_width;
>    bi->biHeight=_height;
>    bi->biPlanes=1;
>    bi->biBitCount=24;
>    bi->biCompression=BI_RGB;
>    bi->biSizeImage=_width * _height * 3;
>    bi->biXPelsPerMeter=0;
>    bi->biYPelsPerMeter=0;
>    bi->biClrUsed=0;
>    bi->biClrImportant=0;

This really should be replaced by  using constructor -
     BitmapInfo(width, height) 


> This works fine with the newest version of avifile and the
> Windows-dlls installed, but in SuSE 8.1 (which includes
> avifile-0.7.7_20020523) some decoders produces images that are upside
> down, but in the right direction if i play the movie with aviplay.

And what actually supriceses you - older version had bugs in this place ?
Or that newer version works properly and you are missing
the bugs ?


> Direction=0, IsRGB=1 Bpp=24. So, what is the magic image-attribute
> with which aviplay in avifile-0.7.7_20020523 can detect, that it has
> to flip the image?

Bugs are present everywhere and everytimes - avifile is created only by
me - thus you should be rather happy that newer version works :)
I think there will be no way to get it properly working with 7.7 version
as many fixes went in during the 7.7 -> 7.29 version - I assume
that 7.15 is somewhat first reasonable version where this might
work reliable...

The only thing I may suggest is to upgrade  rpms on Suse to some newer
version.

-- 
  .''`.    Zdenek Kabelac  kabi@{debian.org, users.sf.net, fi.muni.cz}
 : :' :          Debian GNU/Linux maintainer - www.debian.{org,cz}
 `. `'                          Overclocker's house :)
   `-              http://www.bbspot.com/News/2002/08/house.html        

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to