subtitles: options: enable -ass by default

There are still some problems with -ass. For example some other
subtitle options won't work the same way or at all with it enabled,
and inserting the video filter for VOs that lack native rendering
support won't work with different colorspaces. However I think that
the benefit from styling support outweights those disadvantages, and
also that the "discoverability" of features is better this way; it
will be easier for people who encounter problems to find -noass than
for people who see no styling to find out that they could add it with
-ass.

Enable -ass by default. Also fix other outdated information in the
manpage entries for -ass and -fontconfig.
This commit is contained in:
Uoti Urpala 2011-01-26 05:50:23 +02:00
parent 828af33bfe
commit ebd2058d03
2 changed files with 15 additions and 13 deletions

View File

@ -2079,14 +2079,17 @@ FIXME: Document this.
Also see \-vf expand.
.
.TP
.B \-ass (FreeType only)
Turn on SSA/ASS subtitle rendering.
With this option, libass will be used for SSA/ASS
external subtitles and Matroska tracks.
.B \-ass, \-noass (FreeType only)
Use libass to render all text subtitles.
This enables support for the native styling of SSA/ASS subtitles,
and also support for some styling features in other subtitle formats by
conversion to ASS markup.
Enabled by default if the player was compiled with libass support.
.br
.I NOTE:
Unlike normal OSD, libass uses fontconfig by default. To disable it, use
\-nofontconfig.
Some of the other subtitle options were written for the old non-libass
subtitle rendering system and may not work the same way or at all with
libass rendering enabled.
.
.TP
.B \-ass\-border\-color <value>
@ -2263,13 +2266,8 @@ With Fontconfig, this option determines the Fontconfig font pattern.
.PD 1
.
.TP
.B \-fontconfig (fontconfig only)
Enables the usage of fontconfig managed fonts.
.br
.I NOTE:
By default fontconfig is used for libass-rendered subtitles and not used for
OSD. With \-fontconfig it is used for both libass and OSD, with \-nofontconfig
it is not used at all.
.B \-fontconfig, \-nofontconfig (fontconfig only)
Enables the use of fontconfig managed fonts. Enabled by default.
.
.TP
.B \-forcedsubsonly

View File

@ -46,6 +46,10 @@ void set_default_mplayer_options(struct MPOpts *opts)
.movie_aspect = -1.,
.flip = -1,
.vd_use_slices = 1,
#ifdef CONFIG_ASS
.ass_enabled = 1,
#endif
.lavc_param = {
.workaround_bugs = 1, // autodetect
.error_resilience = 2,