vlc | branch: master | Rafaël Carré <[email protected]> | Sat Sep 28 21:22:34 
2013 +0000| [d580d2a74075dfb792f6c2b72d824a2f59c8d706] | committer: Rafaël Carré

avcodec: decode dvbs

Tested with http://www.martinunderwood.f9.co.uk/mallard.wtv

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

 modules/codec/avcodec/subtitle.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/avcodec/subtitle.c b/modules/codec/avcodec/subtitle.c
index 407bb90..644a05d 100644
--- a/modules/codec/avcodec/subtitle.c
+++ b/modules/codec/avcodec/subtitle.c
@@ -56,6 +56,7 @@ int InitSubtitleDec(decoder_t *dec, AVCodecContext *context,
     switch (codec_id) {
     case AV_CODEC_ID_HDMV_PGS_SUBTITLE:
     case AV_CODEC_ID_XSUB:
+    case AV_CODEC_ID_DVB_SUBTITLE:
         break;
     default:
         msg_Warn(dec, "refusing to decode non validated subtitle codec");

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to