diff options
Diffstat (limited to 'demux/demux.c')
-rw-r--r-- | demux/demux.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/demux/demux.c b/demux/demux.c index 7938cbdcec..08c7e24a30 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -288,8 +288,6 @@ struct demux_packet *demux_read_packet(struct sh_stream *sh) ds->bytes -= pkt->len; ds->packs--; - if (pkt->stream_pts != MP_NOPTS_VALUE) - sh->demuxer->stream_pts = pkt->stream_pts; if (pkt && pkt->pos >= 0) sh->demuxer->filepos = pkt->pos; @@ -454,7 +452,6 @@ static struct demuxer *open_given_type(struct mpv_global *global, .desc = desc, .type = desc->type, .stream = stream, - .stream_pts = MP_NOPTS_VALUE, .seekable = stream->seekable, .accurate_seek = true, .filepos = -1, |