[FFmpeg-cvslog] dump: Update streams and chapters printout format

Sylvain Rabot git at videolan.org
Thu Oct 9 02:13:04 CEST 2014


ffmpeg | branch: master | Sylvain Rabot <sylvain at abstraction.fr> | Tue Sep 30 11:26:06 2014 +0200| [167e6f1489368a4693145da61cb022c113a285bc] | committer: Vittorio Giovara

dump: Update streams and chapters printout format

This matches the -map option which requires '%d:%d' format.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=167e6f1489368a4693145da61cb022c113a285bc
---

 libavformat/dump.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/dump.c b/libavformat/dump.c
index 649678c..99188f0 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -332,7 +332,7 @@ static void dump_stream_format(AVFormatContext *ic, int i,
     AVDictionaryEntry *lang = av_dict_get(st->metadata, "language", NULL, 0);
 
     avcodec_string(buf, sizeof(buf), st->codec, is_output);
-    av_log(NULL, AV_LOG_INFO, "    Stream #%d.%d", index, i);
+    av_log(NULL, AV_LOG_INFO, "    Stream #%d:%d", index, i);
 
     /* the pid is an important information, so we display it */
     /* XXX: add a generic system */
@@ -446,7 +446,7 @@ void av_dump_format(AVFormatContext *ic, int index,
 
     for (i = 0; i < ic->nb_chapters; i++) {
         AVChapter *ch = ic->chapters[i];
-        av_log(NULL, AV_LOG_INFO, "    Chapter #%d.%d: ", index, i);
+        av_log(NULL, AV_LOG_INFO, "    Chapter #%d:%d: ", index, i);
         av_log(NULL, AV_LOG_INFO,
                "start %f, ", ch->start * av_q2d(ch->time_base));
         av_log(NULL, AV_LOG_INFO,



More information about the ffmpeg-cvslog mailing list