[vlc-commits] demux: ts: language is only for audio

Francois Cartegnie git at videolan.org
Wed Feb 7 21:43:30 CET 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Feb  7 21:42:52 2018 +0100| [f81edb54c96aca83ab4ea65179cabb79f6cf26b6] | committer: Francois Cartegnie

demux: ts: language is only for audio

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

 modules/demux/mpeg/ts_psi.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index fec7120175..b11a5fd279 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -530,9 +530,7 @@ static void SetupStandardESDescriptors( demux_t *p_demux, ts_es_t *p_es,
         switch( p_dr->i_tag )
         {
             case 0x0a:
-                if( p_es->fmt.i_cat != SPU_ES ||
-                    (p_es->fmt.i_codec != VLC_CODEC_DVBS &&
-                     p_es->fmt.i_codec != VLC_CODEC_TELETEXT) )
+                if( p_es->fmt.i_cat == AUDIO_ES )
                     SetupISO639Descriptor( p_demux, p_es, p_dr );
                 break;
 



More information about the vlc-commits mailing list