Hello,
I am using prefermenu-0.6.6 along with prefermenu-0.6.6-1.5.3.diff that was posted a while back on this list. When I try to use prefermenu with vdr-1.5.9, I get the following error:
vdr: [4922] ERROR: cOsd::SetAreas returned 5
Would anyone know how to fix this?
Thank you.
Stone wrote:
vdr: [4922] ERROR: cOsd::SetAreas returned 5
This is oeWrongAlignment, and is returned if an OSD area has negative size, is outside of the screen, or does not byte-align.
The latter is triggered if a 1-bit OSD has a width that is not multiple of 8, a 2-bit OSD has a width not multiple of 4, or a 4-bit OSD has a width not multiple of 2.
You may want to check the settings for any width options, and set it to something multiple of 8.
Cheers,
Udo
On 9/22/07, Udo Richter udo_richter@gmx.de wrote:
Stone wrote:
vdr: [4922] ERROR: cOsd::SetAreas returned 5
This is oeWrongAlignment, and is returned if an OSD area has negative size, is outside of the screen, or does not byte-align.
The latter is triggered if a 1-bit OSD has a width that is not multiple of 8, a 2-bit OSD has a width not multiple of 4, or a 4-bit OSD has a width not multiple of 2.
You may want to check the settings for any width options, and set it to something multiple of 8.
Odd, because OSDWidth = 600 on my machine. You dont think it has something to do with the changes in vdr-1.5.9? Prefermenu uses the CreateOsd without the new "Level" attribute. Can anyone verify prefermenu works with the latest vdr release?
Best Regards.
Stone wrote:
You dont think it has something to do with the changes in vdr-1.5.9? Prefermenu uses the CreateOsd without the new "Level" attribute.
No, this is not the problem but the now adjustable font size. The error occurs if the font height is an even number.
Her is a fixed version of the patch:
http://toms-cafe.de/vdr/download/prefermenu-0.6.6-1.5.3+SetAreas-bugfix.diff
Tom
On 9/23/07, Thomas Günther tom1@toms-cafe.de wrote:
Stone wrote:
You dont think it has something to do with the changes in vdr-1.5.9? Prefermenu uses the CreateOsd without the new "Level" attribute.
No, this is not the problem but the now adjustable font size. The error occurs if the font height is an even number.
Her is a fixed version of the patch:
Thanks, that was it.
Best Regards.