|
Roadmap |
Site sponsored by
IGEL
|
||
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [directfb-users] "Invalid area present!" while calling IDirectFBDisplayLayer::SetScreenLocation(in softdevice)
In the current softdevice VDR plugin (0.0.7pre2), with an EPIA M 10000 (CLE266), using the following DirectFB driver : (*) DirectFB/Graphics: VIA/S3G UniChrome 0.4 (-) ...with the following layer : desc = videoLayer->GetDescription(); fprintf(stderr,"[dfb] Using this layer for Video out: %s\n", desc.name); [dfb] Using this layer for Video out: VIA Unichrome Video ...I have an exception when calling SetScreenLocation() : try { fprintf(stderr,"videoLayer->SetScreenLocation(%f, %f, %f, %f)", (float) lxoff / (float) dwidth, (float) lyoff / (float) dheight, (float) lwidth / (float) dwidth, (float) lheight / (float) dheight); videoLayer->SetScreenLocation((float) lxoff / (float) dwidth, (float) lyoff / (float) dheight, (float) lwidth / (float) dwidth, (float) lheight / (float) dheight); } catch (DFBException *ex) { fprintf(stderr,"Caught: action=%s, result=%s", ex->GetAction(), ex->GetResult()); exit(1); } The calling values are as follows : videoLayer->SetScreenLocation(0.000000, 0.000000, 1.000000, 1.000000) Caught: action=IDirectFBDisplayLayer::SetScreenLocation(float, float, float, float), result=Invalid area present! The documentation says that "the whole screen is 0.0, 0.0, -1.0, 1.0." (notice the negative width) (http://www.directfb.org/documentation/DirectFB_Reference/IDirectFBDisplayLayer_SetScreenLocation.html), but Stephan Lucke has this same code working. I tested with a -1.0000 witdth value, with no luck (same exception). Versions : * vdr 1.3.11 * softdevice 0.0.7pre2 * directfb 0.9.21 from CVS 20040622 (applied the epia patch attached to the pre1 release mail) * fusionsound + dfb++ 0.9.21 from CVS 20040616 * ffmpeg 0.4.8 * kernel 2.4.26-epia2 * Debian "testing" * EPIA M 10000 mobo, Skystar2 budget DVB-S TIA -- NH
|
|
| directfb.org |
|
Development |
|
Old Archives |