[vlc-devel] commit: Used VLC_TS_INVALID/0 in raw mpgv demuxer. (Laurent Aimar )
git version control
git at videolan.org
Mon Dec 21 00:02:42 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 20 23:00:43 2009 +0100| [028ed8ba7ffe35949722197ecf43b90de6014a98] | committer: Laurent Aimar
Used VLC_TS_INVALID/0 in raw mpgv demuxer.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=028ed8ba7ffe35949722197ecf43b90de6014a98
---
modules/demux/mpeg/mpgv.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mpeg/mpgv.c b/modules/demux/mpeg/mpgv.c
index e9cbd8e..407e6aa 100644
--- a/modules/demux/mpeg/mpgv.c
+++ b/modules/demux/mpeg/mpgv.c
@@ -153,12 +153,12 @@ static int Demux( demux_t *p_demux )
if( p_sys->b_start )
{
p_block_in->i_pts =
- p_block_in->i_dts = 1;
+ p_block_in->i_dts = VLC_TS_0;
}
else
{
p_block_in->i_pts =
- p_block_in->i_dts = 0;
+ p_block_in->i_dts = VLC_TS_INVALID;
}
while( (p_block_out = p_sys->p_packetizer->pf_packetize( p_sys->p_packetizer, &p_block_in )) )
More information about the vlc-devel
mailing list