[MPlayer-cvslog] r31326 - trunk/libmpdemux/demux_lavf.c

reimar subversion at mplayerhq.hu
Sat Jun 5 18:14:56 CEST 2010


Author: reimar
Date: Sat Jun  5 18:14:56 2010
New Revision: 31326

Log:
Also print current stream position in mp_read debug output.

Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	Sat Jun  5 18:12:36 2010	(r31325)
+++ trunk/libmpdemux/demux_lavf.c	Sat Jun  5 18:14:56 2010	(r31326)
@@ -89,7 +89,8 @@ static int mp_read(void *opaque, uint8_t
 
     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;
 }
 


More information about the MPlayer-cvslog mailing list