Markus Wolters wrote:
Hello everyone,
I'm trying to write my own videoplayer program with dfb(0.9.21) and xine-lib(1-rc5). My video card is
a mga450. I have taken "df_xine" as an example. Everything works fine, but if I change the the width
and height value in frame_output_cb to receive a fullscreen picture , the picture shows some pixel
errors on a regular base.
Could anyone give me a short desciption of how I have to scale
the picture the right way?
Regards
Markus

If you are using the BES layer: Change the layer configuration to have the same size of the original picture and use SetScreenLocation to display it fullscreen.

If you are using the primary layer:
        Create a temporary surface with the same size of the original
        picture and buffers stored in video memory. Register a frame
        callback and play the video on that surface. When the frame
        callback is called, StrechBlit the temporary surface to the
        destination surface.


Claudio





Reply via email to