mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
1581d9deb2
commit
29b2cae621
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue