[vlc-devel] commit: 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 ) (Antoine Cellerier )
git version control
git at videolan.org
Fri May 23 14:12:29 CEST 2008
vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Fri May 23 09:50:23 2008 +0200| [90d9c8e49dc97265b64b9c4e42b43a86c6bd3642]
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)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=90d9c8e49dc97265b64b9c4e42b43a86c6bd3642
---
modules/demux/ps.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/modules/demux/ps.c b/modules/demux/ps.c
index 65f88c9..956fc08 100644
--- a/modules/demux/ps.c
+++ b/modules/demux/ps.c
@@ -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 )
{
More information about the vlc-devel
mailing list