[MPlayer-dev-eng] [PATCH]patch to make vob sub outside the movie

Arpi arpi at thot.banki.hu
Sun May 12 03:26:24 CEST 2002


Hi,

> actually most of the codes of the patch is from salvador's sub pos patch, i 
> just make it works properly. first it cut the vob sub to visible part, and 
> then display the sub at the bottom of the picture, with sdl, and if we 
> lucky that the sub is not too big, the sub will be outside the movie.
> BTW, it's a little bit strange that after the sub were cutted, the bug i 
> reported (dirty sub with sdl) disappeared, now it works well with sdl:).
> this patch should have no linebreaks.:-P

hmm.
the osd/sub renderer accepts stride, so you shouldn't copy it to change
stride/cut width!
anyway it expect 8*n width (stride may differ), because of mmx optimized
alpha renderer.

if it doens't work wihtout copy, then soem bugs exists in spudec.c, maybe in
that ugly software scaler.

anyway, is there any way to get bounding box (sub pos+dimensions) exported
to teh sub.c engine, so drivers moving the sub outside the image could do
partial updates (so half sub on image half under image could work well)


A'rpi / Astral & ESP-team

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



More information about the MPlayer-dev-eng mailing list