diff options
author | 2010-06-05 16:14:56 +0000 | |
---|---|---|
committer | 2010-06-05 16:14:56 +0000 | |
commit | 29b2cae62108432021cf0f5ad203585ab695a23f (patch) | |
tree | 375cd9eb7c11c2e4d10f1592d6f42d2203ef1f51 | |
parent | 1581d9deb24cf5d2930cb05f69fe672ebb869d15 (diff) |
Also print current stream position in mp_read debug output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31326 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/demux_lavf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c index a7ba7c535e..183030281b 100644 --- a/libmpdemux/demux_lavf.c +++ b/libmpdemux/demux_lavf.c @@ -89,7 +89,8 @@ static int mp_read(void *opaque, uint8_t *buf, int size) { ret=stream_read(stream, buf, size); - mp_msg(MSGT_HEADER,MSGL_DBG2,"%d=mp_read(%p, %p, %d), eof:%d\n", ret, stream, buf, size, stream->eof); + mp_msg(MSGT_HEADER,MSGL_DBG2,"%d=mp_read(%p, %p, %d), pos: %"PRId64", eof:%d\n", + ret, stream, buf, size, stream_tell(stream), stream->eof); return ret; } |