summaryrefslogtreecommitdiffstats
path: root/mpcommon.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-07-11 09:04:29 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:14:43 +0200
commit9e537d1f6e90c4aca4778e47c082367639df28ca (patch)
tree27b4ea29765f9ad1836ba2cd9c63d67d863aea88 /mpcommon.c
parent3b92d754814e1e3db98192d6fbd29df1a73ed7ff (diff)
downloadmpv-9e537d1f6e90c4aca4778e47c082367639df28ca.tar.bz2
mpv-9e537d1f6e90c4aca4778e47c082367639df28ca.tar.xz
subs: Add support for DVB and XSUB subtitles, not yet working properly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31694 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mpcommon.c')
-rw-r--r--mpcommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpcommon.c b/mpcommon.c
index b03248c937..962c0da4d2 100644
--- a/mpcommon.c
+++ b/mpcommon.c
@@ -94,7 +94,7 @@ static bool is_text_sub(int type)
static bool is_av_sub(int type)
{
- return type == 'p';
+ return type == 'b' || type == 'p' || type == 'x';
}
void update_subtitles(struct MPContext *mpctx, struct MPOpts *opts,