[FFmpeg-devel] [PATCH] ass: change definition of ASS_DEFAULT_COLOR, set alpha value to 0xff
Stefano Sabatini
stefasab at gmail.com
Fri Nov 25 18:19:31 CET 2011
In particular this is required for making libass correctly render the
subtitles (otherwise they're considered as transparent, and never
rendered).
---
libavcodec/ass.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/ass.h b/libavcodec/ass.h
index efff44d..46987f1 100644
--- a/libavcodec/ass.h
+++ b/libavcodec/ass.h
@@ -30,7 +30,7 @@
*/
#define ASS_DEFAULT_FONT "Arial"
#define ASS_DEFAULT_FONT_SIZE 16
-#define ASS_DEFAULT_COLOR 0xffffff
+#define ASS_DEFAULT_COLOR 0xffffffff
#define ASS_DEFAULT_BACK_COLOR 0
#define ASS_DEFAULT_BOLD 0
#define ASS_DEFAULT_ITALIC 0
--
1.7.4.1
More information about the ffmpeg-devel
mailing list