summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-17 22:03:12 +0200
committerwm4 <wm4@nowhere>2014-07-17 22:03:12 +0200
commit1d7a68d75cf7758f53becaa93fe62618dc6df756 (patch)
tree4786f012ac5603e999980749dabc8adb797e693e
parent9faa131959f4dd5749207f14f78a8a2d2a6c4fa8 (diff)
downloadmpv-1d7a68d75cf7758f53becaa93fe62618dc6df756.tar.bz2
mpv-1d7a68d75cf7758f53becaa93fe62618dc6df756.tar.xz
demux: fix debug log output
It printed the PTS instead of the DTS.
-rw-r--r--demux/demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 599894ed82..909038d783 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -297,7 +297,7 @@ int demux_add_packet(struct sh_stream *stream, demux_packet_t *dp)
MP_DBG(in, "append packet to %s: size=%d pts=%f dts=%f pos=%"PRIi64" "
"[num=%zd size=%zd]\n", stream_type_name(stream->type),
- dp->len, dp->pts, dp->pts, dp->pos, ds->packs, ds->bytes);
+ dp->len, dp->pts, dp->dts, dp->pos, ds->packs, ds->bytes);
if (ds->in->wakeup_cb)
ds->in->wakeup_cb(ds->in->wakeup_cb_ctx);