[vlc-commits] Do not let avformat handle subtitles by default.

Laurent Aimar git at videolan.org
Thu Dec 15 23:30:24 CET 2011


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Dec 15 22:16:46 2011 +0100| [b5898cf0168bd7dcc68e34bd39ccbc2f7b4d61e5] | committer: Laurent Aimar

Do not let avformat handle subtitles by default.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b5898cf0168bd7dcc68e34bd39ccbc2f7b4d61e5
---

 modules/demux/avformat/demux.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index 739ac2a..01f06d9 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -146,6 +146,8 @@ int OpenDemux( vlc_object_t *p_this )
             "mpeg", "vcd", "vob", "mpegts",
             /* libavformat's redirector won't work */
             "redir", "sdp",
+            /* Don't handle subtitles format */
+            "ass", "srt", "microdvd",
             ""
         };
 



More information about the vlc-commits mailing list