Mercurial > mplayer.hg
diff mplayer.c @ 16522:49ef03cb382a
Prints -identify output for:
- video codec of the current file;
- signal numbers;
- demuxer help header.
Patch by kiriuja <mplayer DATH patches AH en DATH directo POIS net>
author | gpoirier |
---|---|
date | Mon, 19 Sep 2005 16:33:39 +0000 |
parents | f17b3c152fd6 |
children | 7658dde0777b |
line wrap: on
line diff
--- a/mplayer.c Mon Sep 19 15:23:15 2005 +0000 +++ b/mplayer.c Mon Sep 19 16:33:39 2005 +0000 @@ -569,6 +569,8 @@ mp_msg(MSGT_CPLAYER,MSGL_FATAL,"\n" MSGTR_IntBySignal,x, current_module?current_module:mp_gettext("unknown") ); + if (identify) + mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_SIGNAL=%d\n", x); if(sig_count<=1) switch(x){ case SIGINT: @@ -2139,6 +2141,9 @@ inited_flags|=INITED_VCODEC; +if (identify && sh_video->codec) + mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_VIDEO_CODEC=%s\n", sh_video->codec->name); + if(auto_quality>0){ // Auto quality option enabled output_quality=get_video_quality_max(sh_video);