summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-06 19:05:59 +0200
committerwm4 <wm4@nowhere>2014-07-06 19:05:59 +0200
commitacd60736ef62c7ea681d69c0c7b26142509aa1cb (patch)
tree98288002d978dd5f64dbd0f8603e42ec120f9511 /demux/demux.c
parenta90b5cfddf88f73b0b46318e817b00aa6658371d (diff)
downloadmpv-acd60736ef62c7ea681d69c0c7b26142509aa1cb.tar.bz2
mpv-acd60736ef62c7ea681d69c0c7b26142509aa1cb.tar.xz
Remove stream_pts stuff
This was used by DVD/BD, but its usage was removed with one of the previous commits.
Diffstat (limited to 'demux/demux.c')
-rw-r--r--demux/demux.c3
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,