summaryrefslogtreecommitdiffstats
path: root/libavcodec/ass.h
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-01-10 16:19:50 +0100
committerClément Bœsch <u@pkh.me>2016-01-10 16:28:14 +0100
commit6d32628bf34972bf6b600c6560a25c329afb62f8 (patch)
tree593d60e7204bb67e0d756d37f94ec880043a74ee /libavcodec/ass.h
parentd86d7b2486cd5c31db8e820d8a89554abf19567e (diff)
downloadffmpeg-streaming-6d32628bf34972bf6b600c6560a25c329afb62f8.zip
ffmpeg-streaming-6d32628bf34972bf6b600c6560a25c329afb62f8.tar.gz
lavc/ccaption_dec: improve default style
Use monospaced font, and a black box outline.
Diffstat (limited to 'libavcodec/ass.h')
-rw-r--r--libavcodec/ass.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ass.h b/libavcodec/ass.h
index 14a1ed2..621a7ba 100644
--- a/libavcodec/ass.h
+++ b/libavcodec/ass.h
@@ -40,6 +40,7 @@
#define ASS_DEFAULT_ITALIC 0
#define ASS_DEFAULT_UNDERLINE 0
#define ASS_DEFAULT_ALIGNMENT 2
+#define ASS_DEFAULT_BORDERSTYLE 1
/** @} */
/**
@@ -61,7 +62,7 @@ int ff_ass_subtitle_header(AVCodecContext *avctx,
const char *font, int font_size,
int color, int back_color,
int bold, int italic, int underline,
- int alignment);
+ int border_style, int alignment);
/**
* Generate a suitable AVCodecContext.subtitle_header for SUBTITLE_ASS
OpenPOWER on IntegriCloud