summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-31 02:26:32 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-31 02:26:32 +0000
commit120f4d12b9232243c46d5898bf505f9789740c23 (patch)
tree09d32569f037911b9020b19388cc5e9f86d763ec /mplayer.c
parentc9c0ec893d25eee80f4ab912e1693c071b80f65a (diff)
downloadmpv-120f4d12b9232243c46d5898bf505f9789740c23.tar.bz2
mpv-120f4d12b9232243c46d5898bf505f9789740c23.tar.xz
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> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8673 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index 1d883ee1a9..58bd9523c6 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1377,9 +1377,9 @@ if(identify) {
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);