]> git.sesse.net Git - vlc/commitdiff
Only keep the full pes packet if using the zvbi teletext decoder. (zvbi should be...
authorAntoine Cellerier <dionoea@videolan.org>
Fri, 23 May 2008 07:50:23 +0000 (09:50 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Fri, 23 May 2008 07:50:54 +0000 (09:50 +0200)
modules/demux/ps.c

index 65f88c9659b3e613afba2d42c8f4e0f3be4530da..956fc0824eb6a84596cab8ad5f6c0df386bd0908 100644 (file)
@@ -382,8 +382,11 @@ static int Demux( demux_t *p_demux )
             p_sys->i_scr = -1;
 
             if( tk->b_seen && tk->es &&
-                ( tk->fmt.i_codec == VLC_FOURCC('t','e','l','x') ||
-                  !ps_pkt_parse_pes( p_pkt, tk->i_skip ) ) )
+                (
+#ifdef ZVBI_COMPILED /* FIXME!! */
+                tk->fmt.i_codec == VLC_FOURCC('t','e','l','x') ||
+#endif
+                !ps_pkt_parse_pes( p_pkt, tk->i_skip ) ) )
             {
                 if( !b_new && !p_sys->b_have_pack && tk->fmt.i_cat == AUDIO_ES && p_pkt->i_pts > 0 )
                 {