changeset 14574:7a3ada58992b

More user-friendly stream, -xid and -slang info output even in non-verbose mode part 2.
author mosu
date Sat, 22 Jan 2005 14:28:23 +0000
parents 3df308b43c50
children 31ae29e095b6
files libmpdemux/demux_ogg.c
diffstat 1 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c	Sat Jan 22 14:09:17 2005 +0000
+++ b/libmpdemux/demux_ogg.c	Sat Jan 22 14:28:23 2005 +0000
@@ -819,7 +819,7 @@
         mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_AUDIO_ID=%d\n", n_audio);
       ogg_d->subs[ogg_d->num_sub].id = n_audio;
       n_audio++;
-      mp_msg(MSGT_DEMUX,MSGL_V,"Ogg : stream %d is vorbis\n",ogg_d->num_sub);
+      mp_msg(MSGT_DEMUX,MSGL_INFO,"[Ogg] stream %d: audio (Vorbis), -aid %d\n",ogg_d->num_sub,n_audio-1);
 
       // check for Theora
 #   ifdef HAVE_OGGTHEORA
@@ -859,15 +859,13 @@
 	      mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_VIDEO_ID=%d\n", n_video);
 	    ogg_d->subs[ogg_d->num_sub].id = n_video;
 	    n_video++;
-	    mp_msg(MSGT_DEMUX,MSGL_V,
-		   "Ogg : stream %d is theora v%i.%i.%i %i:%i, %.3f FPS,"
-		   " aspect %i:%i\n", ogg_d->num_sub,
+	    mp_msg(MSGT_DEMUX,MSGL_INFO,
+		   "[Ogg] stream %d: video (Theora v%d.%d.%d), -vid %d\n",
+		   ogg_d->num_sub,
 		   (int)inf.version_major, 
 		   (int)inf.version_minor, 
 		   (int)inf.version_subminor, 
-		   inf.width, inf.height,
-		   sh_v->fps,
-		   inf.aspect_numerator, inf.aspect_denominator);
+		   n_video - 1);
 	    if(verbose>0) print_video_header(sh_v->bih);
 	}
 #   endif /* HAVE_OGGTHEORA */
@@ -881,7 +879,7 @@
 	n_audio++;
 	ogg_d->subs[ogg_d->num_sub].flac = 1;
 	sh_a->wf = NULL;
-	mp_msg(MSGT_DEMUX,MSGL_V,"Ogg : stream %d is FLAC\n",ogg_d->num_sub);
+	mp_msg(MSGT_DEMUX,MSGL_INFO,"[Ogg] stream %d: audio (FLAC), -aid %d\n",ogg_d->num_sub,n_audio-1);
 #   endif /* HAVE_FLAC */
 
       /// Check for old header