changeset 19152:a28bcc898ab4

display the right MPEG packet type
author ben
date Sat, 22 Jul 2006 10:42:57 +0000
parents ce6ad55eb7a2
children 8df0a51b0e37
files libmpdemux/mpeg_packetizer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/mpeg_packetizer.c	Sat Jul 22 10:39:00 2006 +0000
+++ b/libmpdemux/mpeg_packetizer.c	Sat Jul 22 10:42:57 2006 +0000
@@ -55,7 +55,7 @@
   int hdr;
 
   mp_msg (MSGT_HEADER, MSGL_DBG2,
-          "MPEG2 PES packet: 0x%x => %lu   \n", id, pts);
+          "MPEG%d PES packet: 0x%x => %lu   \n", type, id, pts);
   memset (pes_header, '\0', PES_MAX_SIZE);
   
   /* startcode */