mirror of https://github.com/mpv-player/mpv
Demuxers are _not_ supposed to set ds->pts!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24482 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
29e529c873
commit
0c71c038df
|
@ -396,7 +396,6 @@ static void demux_ty_CopyToDemuxPacket( int type, TiVoInfo *tivo, demux_stream_t
|
||||||
dp->pos = pos;
|
dp->pos = pos;
|
||||||
dp->flags = 0;
|
dp->flags = 0;
|
||||||
ds_add_packet( ds, dp );
|
ds_add_packet( ds, dp );
|
||||||
ds->pts = pts;
|
|
||||||
if ( type == TY_V && tivo->firstVideoPTS == -1 )
|
if ( type == TY_V && tivo->firstVideoPTS == -1 )
|
||||||
tivo->firstVideoPTS = pts;
|
tivo->firstVideoPTS = pts;
|
||||||
if ( type == TY_A && tivo->firstAudioPTS == -1 )
|
if ( type == TY_A && tivo->firstAudioPTS == -1 )
|
||||||
|
|
Loading…
Reference in New Issue