Commit 88518d3a authored by Laurent Aimar's avatar Laurent Aimar

Fixed initial value in MJPEG demuxer.

MJPEG demuxer is VLC_TS_INVALID compliant.
parent 744ec5e9
...@@ -278,7 +278,7 @@ static int SendBlock( demux_t *p_demux, int i ) ...@@ -278,7 +278,7 @@ static int SendBlock( demux_t *p_demux, int i )
} }
else else
{ {
p_block->i_dts = p_block->i_pts = p_sys->i_time; p_block->i_dts = p_block->i_pts = VLC_TS_0 + p_sys->i_time;
p_sys->i_time += p_sys->i_frame_length; p_sys->i_time += p_sys->i_frame_length;
} }
......
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