[Mplayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.39,1.40
arpi at thot.banki.hu
Sun Apr 27 22:59:58 CEST 2003
> Actually, it didn't quite work to begin with -- I had to set
> draw_slice myself. But what's disturbing: before I set draw_slice, I
> just got a blank picture with mga_vid when using vf_dsize. Apparently
> the decoder thought it could use slices, but then it wasn't able
> to...? Is this a problem somewhere in vf.c? Or do filter authors need
ah, the evil slices... i forgot to port the slice fix from g2 yet.
add this line to mpcodecs_draw_slice():
// skip passthru filters:
while(vf && !vf->process_image) vf=vf->next;
in main it would look sth like this:
while(vf && vf->put_image==vf_next_put_image) vf=vf->next;
if works, commit.
> to explicitly set draw_slice if they're not going to intervene to
> prevent slice rendering?
slice support in filters is new and it didn't exists when i hacke din
passthru filter support (for vf_format, vf_dvbscale etc)
A'rpi / Astral & ESP-team
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-cvslog