From a51f79352b6ffbbe23b34bb2805a7cbdda100bad Mon Sep 17 00:00:00 2001 From: martii Date: Sun, 4 Aug 2013 16:21:39 +0200 Subject: [PATCH] libeplayer3: unbreak srt subs --- libeplayer3/container/container_ffmpeg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libeplayer3/container/container_ffmpeg.c b/libeplayer3/container/container_ffmpeg.c index af02c56..e4e03b9 100644 --- a/libeplayer3/container/container_ffmpeg.c +++ b/libeplayer3/container/container_ffmpeg.c @@ -955,8 +955,10 @@ int container_ffmpeg_update_tracks(Context_t *context, char *filename, int initi context->manager->video->Command(context, MANAGER_DEL, NULL); if (context->manager->audio) context->manager->audio->Command(context, MANAGER_DEL, NULL); - if (initial && context->manager->subtitle) +#if 0 + if (context->manager->subtitle) context->manager->subtitle->Command(context, MANAGER_DEL, NULL); +#endif if (context->manager->dvbsubtitle) context->manager->dvbsubtitle->Command(context, MANAGER_DEL, NULL); if (context->manager->teletext)