[MPlayer-G2-dev] libvo2 documentation and pre22 iz out

Arpi arpi at thot.banki.hu
Sun May 11 22:45:02 CEST 2003


Hi,

> Hi,
> just small comment to interface
> -frame_start,frame_done.... should return VO_XXXX depending on
> succes/fail
> 
> Another question is about plane pointers in buffer structure. Are they
> considered valid all the time? This will not be true for some vo
> drivers. For example directfb - valid pointers are supplied only between
> frame_start and frame_done when surface/buffer is locked. All the rest
> of the time buffers can be moved without any notification.

huh.
i've expected that they are constant since the config() call, but the code
doesn't expect it, so it should work.
actually the buffers are read/write only between frame_start/frame_done,
so otherwise the pointers aren't used. it's better to set them NULL at
config and frame_done, for easier bug hunting :)

maybe it requires changes in vf_vo2's get_image(), as the stride is required
for DR1 decisions, and afair it's done before frame_start.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-G2-dev mailing list