Commit 90d9c8e4 authored by Antoine Cellerier's avatar Antoine Cellerier

Only keep the full pes packet if using the zvbi teletext decoder. (zvbi should...

Only keep the full pes packet if using the zvbi teletext decoder. (zvbi should be fixed to be able to use the vbi data directly without all the pes stuff)
parent 3d240f51
......@@ -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 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment