10l: add prefix "TAG:" to the metadata tags key showed for each stream.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 25 Feb 2010 00:16:43 +0000 (00:16 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 25 Feb 2010 00:16:43 +0000 (00:16 +0000)
This is consistent with the metadata displaying in show_format() and
with the documentation.

Originally committed as revision 22046 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffprobe.c

index 7ac20eb..4a8ca88 100644 (file)
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -184,7 +184,7 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx)
                                                   &stream->time_base));
 
     while ((tag = av_metadata_get(stream->metadata, "", tag, AV_METADATA_IGNORE_SUFFIX)))
-        printf("%s=%s\n", tag->key, tag->value);
+        printf("TAG:%s=%s\n", tag->key, tag->value);
 
     printf("[/STREAM]\n");
 }