[vlc-devel] commit: Fixed initial value in MJPEG demuxer. (Laurent Aimar )
git version control
git at videolan.org
Mon Dec 21 00:02:32 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 20 16:53:57 2009 +0100| [88518d3ad808d604ed132616cddfea87d4474753] | committer: Laurent Aimar
Fixed initial value in MJPEG demuxer.
MJPEG demuxer is VLC_TS_INVALID compliant.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=88518d3ad808d604ed132616cddfea87d4474753
---
modules/demux/mjpeg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/mjpeg.c b/modules/demux/mjpeg.c
index 391c1e3..9867a4b 100644
--- a/modules/demux/mjpeg.c
+++ b/modules/demux/mjpeg.c
@@ -278,7 +278,7 @@ static int SendBlock( demux_t *p_demux, int i )
}
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;
}
More information about the vlc-devel
mailing list