summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 0ac790bf2d..ed6de20f4c 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -814,6 +814,9 @@ void add_subtitles(char *filename, float fps, int silent)
#ifdef USE_ASS
if (ass_enabled)
asst = ass_read_file(filename);
+ if (ass_enabled && !asst)
+ asst = ass_read_subdata(subd, fps);
+
if (!asst && !subd && !silent)
#else
if(!subd && !silent)