diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-28 13:41:02 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-28 13:41:02 +0000 |
commit | 17c39c4e5794ecf8771e218e40843ad211f2ae71 (patch) | |
tree | d6ecd57a19af50eb134dc6c660bed6b2369dc324 /cfg-common.h | |
parent | 288868f16a20ce9d5f3586f5a6442c7b4005e7ff (diff) | |
download | mpv-17c39c4e5794ecf8771e218e40843ad211f2ae71.tar.bz2 mpv-17c39c4e5794ecf8771e218e40843ad211f2ae71.tar.xz |
The following patch adds two new command line options:
-sub-bkg-color n
-sub-bkg-alpha n
They control the color and alpha value used to initialize the subtitles and OSD BBOX.
With this you can have subtitles inside a traslucent rectangle.
This is useful when a movie already have "hardcoded" subtitles and you
want to overwrite them with rendered subtitles avoiding too much confusion.
patch by Salvador Eduardo Tropea <salvador@inti.gov.ar>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8602 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r-- | cfg-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h index f514e7bfab..b31841fd46 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -181,6 +181,8 @@ // enable Closed Captioning display {"subcc", &subcc_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"nooverlapsub", &suboverlap_enabled, CONF_TYPE_FLAG, 0, 0, 0, NULL}, + {"sub-bkg-color", &sub_bkg_color, CONF_TYPE_INT, CONF_RANGE, 0, 255, NULL}, + {"sub-bkg-alpha", &sub_bkg_alpha, CONF_TYPE_INT, CONF_RANGE, 0, 255, NULL}, #endif #ifdef USE_OSD {"font", &font_name, CONF_TYPE_STRING, 0, 0, 0, NULL}, |