changeset 8672:9065fd98fad3

I've made some changes to the -identify handling. As previously the output for ID_VIDEO_FORMAT was only meaningful if it was a fourcc file, the output for mpeg1 and mpeg2 was jibberish. based on patch by Philip J¸«£genstedt <philipj@telia.com>
author arpi
date Tue, 31 Dec 2002 02:26:32 +0000
parents e1337452fe62
children 4c0882ee0f4d
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue Dec 31 02:21:28 2002 +0000
+++ b/mplayer.c	Tue Dec 31 02:26:32 2002 +0000
@@ -1377,9 +1377,9 @@
   if (sh_video) {
     /* Assume FOURCC if all bytes >= 0x20 (' ') */
     if (sh_video->format >= 0x20202020)
-      mp_msg(MSGT_GLOBAL,MSGL_INFO,"ID_VIDEO_FORMAT=%.4s\n", &sh_video->format);
+	mp_msg(MSGT_GLOBAL,MSGL_INFO,"ID_VIDEO_FORMAT=%.4s\n", &sh_video->format);
     else
-      mp_msg(MSGT_GLOBAL,MSGL_INFO,"ID_VIDEO_FORMAT=%d\n", sh_video->format);
+	mp_msg(MSGT_GLOBAL,MSGL_INFO,"ID_VIDEO_FORMAT=0x%08X\n", sh_video->format);
     mp_msg(MSGT_GLOBAL,MSGL_INFO,"ID_VIDEO_BITRATE=%d\n", sh_video->i_bps*8);
     mp_msg(MSGT_GLOBAL,MSGL_INFO,"ID_VIDEO_WIDTH=%d\n", sh_video->disp_w);
     mp_msg(MSGT_GLOBAL,MSGL_INFO,"ID_VIDEO_HEIGHT=%d\n", sh_video->disp_h);