Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: experiences with MiniAIO



> Hello Tobias,
>
> * Tobias Bratfisch <tobias.vdr@bratfisch.net> [18-10-02 13:54]:
> > But be carefull, there are still a few bugs I could not solve yet.
> > Any help is welcome :-)
>
> Oh yes, there a really some bugs, that crashes vdr.
> I have the problem in using the yellow and blue button in main modus.

The blue button works fine for me, and the yellow button is not used because 
this would force to have the mp3-plugin.

As far as I know now, vdr crashes in two different functions:
1. at osdbase.c:213
void cBitmap::SetBitmap(int x, int y, const cBitmap &Bitmap)
{
  if (bitmap && Bitmap.bitmap) {                               <- here
     tIndexes Indexes;
     Take(Bitmap, &Indexes);
     for (int ix = 0; ix < Bitmap.width; ix++) {
         for (int iy = 0; iy < Bitmap.height; iy++)
             SetIndex(x + ix, y + iy, Indexes[Bitmap.bitmap[Bitmap.width * iy 
+ ix]]);
         }
     }
}

2. at  osdbase.c:102
  void cPalette::Take(const cPalette &Palette, tIndexes *Indexes)
  {
    for (int i = 0; i < Palette.numColors; i++) {
        if (Palette.used[i]) {
           int n = Index(Palette.color[i]);                      <- here
           if (Indexes)
             (*Indexes)[i] = n;                                     <- or here
         }
      }
}

Until now I just merged patches and had no deeper look into the code.
If anyone with greater knowledge of the code could help me I would be 
happy :-)

Tobias


--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index