mirror of https://github.com/mpv-player/mpv
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24973 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0290988bbd
commit
a06eb8ac21
|
@ -575,6 +575,7 @@ static int demux_mpg_read_packet(demuxer_t *demux,int id){
|
||||||
if(l<len)
|
if(l<len)
|
||||||
resize_demux_packet(dp, l);
|
resize_demux_packet(dp, l);
|
||||||
len = l;
|
len = l;
|
||||||
|
if(set_pts)
|
||||||
dp->pts=pts/90000.0f;
|
dp->pts=pts/90000.0f;
|
||||||
dp->pos=demux->filepos;
|
dp->pos=demux->filepos;
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue