Commit 028ed8ba authored by Laurent Aimar's avatar Laurent Aimar

Used VLC_TS_INVALID/0 in raw mpgv demuxer.

parent 4d6bb6f1
...@@ -153,12 +153,12 @@ static int Demux( demux_t *p_demux ) ...@@ -153,12 +153,12 @@ static int Demux( demux_t *p_demux )
if( p_sys->b_start ) if( p_sys->b_start )
{ {
p_block_in->i_pts = p_block_in->i_pts =
p_block_in->i_dts = 1; p_block_in->i_dts = VLC_TS_0;
} }
else else
{ {
p_block_in->i_pts = 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 )) ) while( (p_block_out = p_sys->p_packetizer->pf_packetize( p_sys->p_packetizer, &p_block_in )) )
......
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