# HG changeset patch # User arpi # Date 1041301592 0 # Node ID 9065fd98fad3018d2e7b297577c4f405ce4a3d7f # Parent e1337452fe62ad202c62373d43280ec0dc678ca4 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 diff -r e1337452fe62 -r 9065fd98fad3 mplayer.c --- 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);