Beispiel #1
0
int ff_ass_subtitle_header_default(AVCodecContext *avctx)
{
    return ass_subtitle_header(avctx, ASS_DEFAULT_FONT,
                               ASS_DEFAULT_FONT_SIZE,
                               ASS_DEFAULT_COLOR,
                               ASS_DEFAULT_BACK_COLOR,
                               ASS_DEFAULT_BOLD,
                               ASS_DEFAULT_ITALIC,
                               ASS_DEFAULT_UNDERLINE,
                               ASS_DEFAULT_ALIGNMENT);
}
static std::string ass_subtitle_header_custom(void) {
	return ass_subtitle_header(
		ASS_CUSTOM_FONT,
		ASS_CUSTOM_FONT_SIZE,
		ASS_CUSTOM_COLOR,
		ASS_CUSTOM_OUTLINE_COLOR,
		ASS_CUSTOM_BACK_COLOR,
		ASS_CUSTOM_BOLD,
		ASS_CUSTOM_ITALIC,
		ASS_CUSTOM_UNDERLINE,
		ASS_CUSTOM_ALIGNMENT);
}
static std::string ass_subtitle_header_default(void) {
	return ass_subtitle_header(
		ASS_DEFAULT_FONT,
		ASS_DEFAULT_FONT_SIZE,
		ASS_DEFAULT_COLOR,
		ASS_DEFAULT_OUTLINE_COLOR,
		ASS_DEFAULT_BACK_COLOR,
		ASS_DEFAULT_BOLD,
		ASS_DEFAULT_ITALIC,
		ASS_DEFAULT_UNDERLINE,
		ASS_DEFAULT_ALIGNMENT);
}