[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.102,1.103

Arpi arpi at thot.banki.hu
Wed Jul 17 02:57:54 CEST 2002


Hi,

> Log Message:
> check if the available buffers are big enough in get_image

> +    if(  xvimage[current_buf]->pitches[0]*mpi->height 
> +       > xvimage[current_buf]->offsets[1] - xvimage[current_
> buf]->offsets[0]) return VO_FALSE; //buffer to small
> +    if(  xvimage[current_buf]->pitches[0] < mpi->width /*FIXME non
> yv12*/) return VO_FALSE; //buffer to small

hmm, it raises up another TODO entry: allocate XvImages at get_image(),
instead of config() - it could solve both IP vs IPB problem, and allocate
big enough buffers.


A'rpi / Astral & ESP-team

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



More information about the MPlayer-cvslog mailing list