[MPlayer-dev-eng] [PATCH] Allow sub_scale command to work with ASS subtitle renderer

Evgeniy Stepanov eugeni.stepanov at gmail.com
Tue Jan 22 23:46:29 CET 2008


On Wednesday 23 January 2008 01:28:19 Evgeniy Stepanov wrote:
> On Tuesday 22 January 2008 22:16:17 Benjamin Zores wrote:
> > Evgeniy Stepanov a écrit :
> > > On Tuesday 22 January 2008 01:25:51 Benjamin Zores wrote:
> > >> Hi,
> > >>
> > >> Attached patch does $subject.
> > >> Can libass and mp_command maintainers review it ?
> > >
> > > Maybe I'm missing something trivial, but why can't ass_set_font_scale()
> > > be called directly from property code, avoiding all this mess with
> > > ass_force_reload ? This will also work with vf_vo.
> >
> > ass_renderer_t (needed by ass_set_font_scale) is not known from property
> > code as far as i can tell :-(
>
> Right. Then, let's move ass_force_reload check to ass_mp.c to avoid doing
> it both in vf_ass and vf_vo.

This also allows shifting subtitles to margins and back on the fly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-margins.patch
Type: text/x-diff
Size: 2679 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080123/348e32f1/attachment.patch>


More information about the MPlayer-dev-eng mailing list