From c5fd4c8c3e36a2c1e0049d769597005bf00d2f60 Mon Sep 17 00:00:00 2001 From: martii Date: Tue, 23 Jul 2013 21:00:14 +0200 Subject: [PATCH] libeplayer/container_ffmpeg: subtitle fix --- libeplayer3/container/container_ffmpeg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libeplayer3/container/container_ffmpeg.c b/libeplayer3/container/container_ffmpeg.c index 4dbcad2..d0b23d0 100644 --- a/libeplayer3/container/container_ffmpeg.c +++ b/libeplayer3/container/container_ffmpeg.c @@ -742,9 +742,8 @@ static void FFMPEGThread(Context_t *context) { } } - } - else + if(((AVStream*)subtitleTrack->stream)->codec->codec_id == AV_CODEC_ID_SSA) { SubtitleData_t data;