From 65f9fc02d4e863537bae1ff4b54aafd2ac1ea3e8 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;