[vlc-devel] [PATCH] avcodec: decode dvbs

Rafaël Carré funman at videolan.org
Sun Sep 29 00:22:34 CEST 2013


Tested with http://www.martinunderwood.f9.co.uk/mallard.wtv
---
 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");
-- 
1.8.3.2




More information about the vlc-devel mailing list