[MPlayer-cvslog] r19590 - in trunk/libass: ass.c ass_mp.c

eugeni subversion at mplayerhq.hu
Tue Aug 29 12:35:59 CEST 2006


Author: eugeni
Date: Tue Aug 29 12:35:58 2006
New Revision: 19590

Modified:
   trunk/libass/ass.c
   trunk/libass/ass_mp.c

Log:
Apply -ass-force-style also to tracks generated from subdata.


Modified: trunk/libass/ass.c
==============================================================================
--- trunk/libass/ass.c	(original)
+++ trunk/libass/ass.c	Tue Aug 29 12:35:58 2006
@@ -313,7 +313,7 @@
  * \param track track to apply overrides to
  * The format for overrides is [StyleName.]Field=Value
  */
-static void process_force_style(ass_track_t* track) {
+void process_force_style(ass_track_t* track) {
 	char **fs, *eq, *dt, *style, *tname, *token;
 	ass_style_t* target;
 	int sid;

Modified: trunk/libass/ass_mp.c
==============================================================================
--- trunk/libass/ass_mp.c	(original)
+++ trunk/libass/ass_mp.c	Tue Aug 29 12:35:58 2006
@@ -21,6 +21,7 @@
 extern int subtitle_autoscale;
 
 extern double ass_internal_font_size_coeff; 
+extern void process_force_style(ass_track_t* track);
 
 /**
  * \brief Convert subdata to ass_track
@@ -107,6 +108,7 @@
 		p--; // remove last ' '
 		*p = 0;
 	}
+	process_force_style(track);
 	return track;
 }
 



More information about the MPlayer-cvslog mailing list