changeset 15938:cf34ac76bd15

-identify variable names should follow [A-Z_][A-Z0-9_]* convention
author ranma
date Thu, 07 Jul 2005 17:35:05 +0000
parents b12cdd3c62d3
children 4119b6ef4e87
files libmpdemux/demuxer.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Thu Jul 07 15:47:59 2005 +0000
+++ b/libmpdemux/demuxer.c	Thu Jul 07 17:35:05 2005 +0000
@@ -1605,9 +1605,13 @@
     for(n = 0; info[2*n] != NULL ; n++)
     {
       mp_msg(MSGT_DEMUX, MSGL_INFO, " %s: %s\n",info[2*n],info[2*n+1]);
-      if (identify)
-        mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_CLIP_INFO_%s=%s\n", info[2*n], info[2*n+1]);
+      if (identify) {
+        mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_CLIP_INFO_NAME%d=%s\n", n, info[2*n]);
+        mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_CLIP_INFO_VALUE%d=%s\n", n, info[2*n+1]);
+      }
     }
+    if (identify)
+      mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_CLIP_INFO_N=%d\n", n);
 
     return 0;
 }