[MPlayer-dev-eng] [PATCH]patch to make vob sub outside the movie
陆 然
hephooey at hotmail.com
Sun May 12 03:45:10 CEST 2002
Hi,
>From: Arpi <arpi at thot.banki.hu>
>Reply-To: mplayer-dev-eng at mplayerhq.hu
>To: mplayer-dev-eng at mplayerhq.hu
>Subject: Re: [MPlayer-dev-eng] [PATCH]patch to make vob sub outside the
movie
>Date: Sun, 12 May 2002 03:26:24 +0200
>
>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!
the patch will not cut width, just cut height.
>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
yes, i think it's not difficult, should i make a new spu/vob drawing
function like spudec/vobsub_draw(mp_osd_obj_t *obj, int dxs, int dys) just
like other sub/osd drawing function
>partial updates (so half sub on image half under image could work well)
there is no problem with half sub, it works perfectly on my machine(must
with the cut sub patch)
>
>A'rpi / Astral & ESP-team
>
>--
>Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
>_______________________________________________
>MPlayer-dev-eng mailing list
>MPlayer-dev-eng at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
--------------------------------
Best Regards,
LR
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:
http://messenger.microsoft.com/cn
More information about the MPlayer-dev-eng
mailing list