[vlc-devel] [RFC PATCH] Direct rendering spu placement

Thomas Guillem thomas at gllm.fr
Tue Dec 30 10:11:22 CET 2014


On Mon, Dec 29, 2014, at 21:23, Francois Cartegnie wrote:
> Le 29/12/2014 18:46, Thomas Guillem a écrit :
> > So, do you think it's safe to remove the following check ?
> > (fmt_spu.i_width * fmt_spu.i_height < place.width * place.height)"
> > 
> > I don't see any problems with having a spu size smaller than the video size.
> 
> Having a multiplier provided a guard against 0 sized member, no ?

Maybe, I can replace the previous check with a check against 0 sized
member.

>

Btw, I tested on desktop with vdpau and dr_spu, it doesn't break
subtitles placement.
 
> Francois
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list