[MPlayer-cvslog] r24973 - trunk/libmpdemux/demux_mpg.c
nicodvb
subversion at mplayerhq.hu
Mon Nov 5 21:15:10 CET 2007
Author: nicodvb
Date: Mon Nov 5 21:15:09 2007
New Revision: 24973
Log:
10l, setting a non-existent timestamp (default 0.0) when the pts flag isn't set in
the PES header is just wrong; leave the default MP_NOPTS_VALUE instead
Modified:
trunk/libmpdemux/demux_mpg.c
Modified: trunk/libmpdemux/demux_mpg.c
==============================================================================
--- trunk/libmpdemux/demux_mpg.c (original)
+++ trunk/libmpdemux/demux_mpg.c Mon Nov 5 21:15:09 2007
@@ -575,6 +575,7 @@ static int demux_mpg_read_packet(demuxer
if(l<len)
resize_demux_packet(dp, l);
len = l;
+ if(set_pts)
dp->pts=pts/90000.0f;
dp->pos=demux->filepos;
/*
More information about the MPlayer-cvslog
mailing list