mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-12 13:44:56 +02:00
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)
This commit is contained in:
parent
3d240f51c5
commit
90d9c8e49d
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user