[MPlayer-dev-eng] [PATCH] redundant output for ASF
Diego Biurrun
diego at biurrun.de
Tue Oct 19 01:30:46 CEST 2004
Hi!
I noticed some time ago that ASF movies produce redundant output like
this:
VIDEO: [WMV3] 320x240 24bpp
VIDEO: [WMV3] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
I tracked this down to libmpdemux/demuxer.c where this info gets
printed once for ASF and then for all video types. This patch removes
the redundant mp_msg call.
Please tell me if I am overlooking something, otherwise I will apply
this soon.
Diego
--- libmpdemux/demuxer.c 8 Oct 2004 21:28:19 -0000 1.170
+++ libmpdemux/demuxer.c 18 Oct 2004 23:21:26 -0000
@@ -1282,11 +1282,6 @@
} else {
sh_video=d_video->sh;sh_video->ds=d_video;
sh_video->fps=1000.0f; sh_video->frametime=0.001f; // 1ms
- mp_msg(MSGT_DEMUXER,MSGL_INFO,"VIDEO: [%.4s] %dx%d %dbpp\n",
- (char *)&sh_video->bih->biCompression,
- sh_video->bih->biWidth,
- sh_video->bih->biHeight,
- sh_video->bih->biBitCount);
// sh_video->i_bps=10*asf_packetsize; // FIXME!
}
}
More information about the MPlayer-dev-eng
mailing list