[MPlayer-dev-eng] Re: [PATCH] SSA/ASS subtitles support

Uoti Urpala uoti.urpala at pp1.inet.fi
Fri Jul 7 16:58:40 CEST 2006


On Fri, 2006-07-07 at 18:36 +0400, Evgeniy Stepanov wrote:
> Ok, if nobody objects, I'm commiting everything except mencoder-ass.patch in a 
> few hours.

IIRC linking failed when I tried to apply the other patches without that
one earlier because some variables were defined identically in mplayer.c
and mencoder.c and were referred to in other object files that were
linked in both binaries. There are a few alternatives:
1) Apply the mencoder patch too as is. Might or might not break things.
Feeding the timestamps to the filter chain is the problematic part;
feeding them broke encoding with lavc earlier, but those weren't exactly
the same ones then (they were from the muxer, the patch uses
sh_video->pts).
2) Apply the mencoder patch otherwise but leave out the timestamps,
doesn't break things but leaves the added code useless for now as the
filter won't work under mencoder.
3) Add only the variable definitions to mencoder.c but leave out the
rest of the patch.
4) Move the needed variable definitions to some other file that gets
linked to both the mplayer and mencoder binaries.

I'm currently not sure which choice would be best and probably won't try
to investigate it further during the next few hours.




More information about the MPlayer-dev-eng mailing list