[MPlayer-dev-eng] [BUG] expand=-1:-1:-1:-1:1, getting black blocks
Michael Niedermayer
michaelni at gmx.at
Sun Oct 6 23:55:53 CEST 2002
Hi
On Sunday 06 October 2002 08:37, Gabucino wrote:
> HW:
> p150mmx notebook
> cirrus logic suxcard
>
> The problem: played a DIV3 file with ffdivx (sorry no other files here now,
> so I can't test), either on svgalib or X11. Used -vop
> expand=-1:-1:-1:-1:1 option. Pressed 'o' key to turn on timer until the
> first 1-20 frames were displayed (it's better when pressed right on the
> _first_ frame).
>
> The frame was corrupted at once, when many macroblocks turned to black
> :(((
>
> It works when 'o' is pressed when no video window has appeared YET.
> It works when 'o' is pressed while the just appeared video window is
> still black.
> It DOES NOT WORK when 'o' is pressed when the first frame is displayed!
> It works when 'o' is pressed 4-5 seconds into the movie.
>
> It doesn't matter whether -nosound is used or not.
>
> Probably some serious memory corruption (or directrender issue?). No
> njamd here.
try
---------- vf.c
// accept restrictions & draw_slice flags only:
mpi->flags|=mp_imgflag&(MP_IMGFLAGMASK_RESTRICTIONS|MP_IMGFLAG_DRAW_CALLBACK);
if(!vf->draw_slice) mpi->flags&=~MP_IMGFLAG_DRAW_CALLBACK;
- if((mpi->width!=w2 || mpi->height!=h) && !(mpi->flags&MP_IMGFLAG_DIRECT)){
+ if((mpi->width!=w2 || mpi->height!=h) && !(mpi->flags&MP_IMGFLAG_DIRECT)
&& 0){
mpi->width=w2; mpi->chroma_width=w2>>mpi->chroma_x_shift;
mpi->height=h; mpi->chroma_height=h>>mpi->chroma_y_shift;
if(mpi->flags&MP_IMGFLAG_ALLOCATED){
--------
[...]
Michael
More information about the MPlayer-dev-eng
mailing list