[vlc-commits] Bump DVBsub priority above avcodec

Jean-Baptiste Kempf git at videolan.org
Thu Feb 13 13:04:03 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 13 13:02:40 2014 +0100| [371acd7ce8cbb43a0f84741eeec780eaa09a8d84] | committer: Jean-Baptiste Kempf

Bump DVBsub priority above avcodec

Since now avcodec module accepts dvbsub, it is always taken, even if it
fails to decode...

Close #10655

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

 modules/codec/dvbsub.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/dvbsub.c b/modules/codec/dvbsub.c
index f26013d..956482b 100644
--- a/modules/codec/dvbsub.c
+++ b/modules/codec/dvbsub.c
@@ -119,7 +119,7 @@ vlc_module_begin ()
 #   define DVBSUB_CFG_PREFIX "dvbsub-"
     set_description( N_("DVB subtitles decoder") )
     set_shortname( N_("DVB subtitles") )
-    set_capability( "decoder", 50 )
+    set_capability( "decoder", 80 )
     set_category( CAT_INPUT )
     set_subcategory( SUBCAT_INPUT_SCODEC )
     set_callbacks( Open, Close )



More information about the vlc-commits mailing list