From acd60736ef62c7ea681d69c0c7b26142509aa1cb Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 6 Jul 2014 19:05:59 +0200 Subject: Remove stream_pts stuff This was used by DVD/BD, but its usage was removed with one of the previous commits. --- demux/demux.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'demux/demux.c') 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, -- cgit v1.2.3