changeset 30624:60818f87a285

Print demuxer name in "freeing demuxer" message.
author reimar
date Sat, 20 Feb 2010 17:50:56 +0000
parents f363dab67326
children bc29a1172753
files libmpdemux/demuxer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Sat Feb 20 17:21:48 2010 +0000
+++ b/libmpdemux/demuxer.c	Sat Feb 20 17:50:56 2010 +0000
@@ -366,8 +366,8 @@
 void free_demuxer(demuxer_t *demuxer)
 {
     int i;
-    mp_msg(MSGT_DEMUXER, MSGL_DBG2, "DEMUXER: freeing demuxer at %p\n",
-           demuxer);
+    mp_msg(MSGT_DEMUXER, MSGL_DBG2, "DEMUXER: freeing %s demuxer at %p\n",
+           demuxer->desc->shortdesc, demuxer);
     if (demuxer->desc->close)
         demuxer->desc->close(demuxer);
     // Very ugly hack to make it behave like old implementation