[MPlayer-cvslog] r25610 - in trunk: DOCS/man/en/mplayer.1 libass/ass.c
eugeni
subversion at mplayerhq.hu
Sat Jan 5 16:38:46 CET 2008
Author: eugeni
Date: Sat Jan 5 16:38:46 2008
New Revision: 25610
Log:
Allow overriding [Script Info] parameters with -ass-force-style option.
Modified:
trunk/libass/ass.c
Changes in other areas also in this revision:
Modified:
trunk/DOCS/man/en/mplayer.1
Modified: trunk/libass/ass.c
==============================================================================
--- trunk/libass/ass.c (original)
+++ trunk/libass/ass.c Sat Jan 5 16:38:46 2008
@@ -337,6 +337,15 @@ void process_force_style(ass_track_t* tr
*eq = '\0';
token = eq + 1;
+ if(!strcasecmp(*fs, "PlayResX"))
+ track->PlayResX = atoi(token);
+ else if(!strcasecmp(*fs, "PlayResY"))
+ track->PlayResY = atoi(token);
+ else if(!strcasecmp(*fs, "Timer"))
+ track->Timer = atof(token);
+ else if(!strcasecmp(*fs, "WrapStyle"))
+ track->WrapStyle = atoi(token);
+
dt = strrchr(*fs, '.');
if (dt) {
*dt = '\0';
More information about the MPlayer-cvslog
mailing list