Mercurial > mplayer.hg
view libmpcodecs/ae_toolame.h @ 26591:0f069e41d8d2
Allow inexact font family matching.
In SSA/ASS fonts are sometimes referenced by their "full name",
which is usually a concatenation of family name and font
style (ex. Ottawa Bold). Full name is available from
FontConfig pattern element FC_FULLNAME, but it is never
used for font matching.
Therefore, I'm removing words from the end of the name one
by one, and adding shortened names to the pattern. It seems
that the first value (full name in this case) has
precedence in matching.
author | eugeni |
---|---|
date | Thu, 01 May 2008 00:34:26 +0000 |
parents | 4129c8cfa742 |
children | bbb6ebec87a0 |
line wrap: on
line source
#ifndef MPLAYER_AE_TOOLAME_H #define MPLAYER_AE_TOOLAME_H #include "ae.h" #include <toolame.h> typedef struct { toolame_options *toolame_ctx; int channels, srate, bitrate; int vbr; int16_t left_pcm[1152], right_pcm[1152]; } mpae_toolame_ctx; int mpae_init_toolame(audio_encoder_t *encoder); #endif /* MPLAYER_AE_TOOLAME_H */