I am trying to get my system to support PlayTo being called multiple times with a different destination rectangle.

I am having some problems doing this:
I do not have direct access to the Surface data. As the VideoProvider is hiding my embedded hardware. This means the example V4L is not very useful.

I have a IDirectFBSurface handle. Using this i can get access to the following things
DirectFBDisplayLayerID
CoreLayer
CoreSurface

This is good but the problem is that I can not get access to an IDirectFBDisplayLayer.
I could use IDirectFB->GetDisplayLayer(IDirectFB, displayLayerID)
But I do not have access to the core DFB interface inside my video provider.

The reason I would lilke access to the IDirectFBDisplayLayer is that i could then use the normal method to change the destination rectangle.

The only alternative I have at the moment is to use get_active_context(CoreLayer, context)

This would then allow me to set the destination rectangle this way. However I have tried this before in the past and have found it to not always be reliable.

Does anyone else have any ideas on how to chnage the destination rectangle of a display layer from within a video provider.

Hope you can help
Dan



_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to