Commit b6a41853 authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

10l: add prefix "TAG:" to the metadata tags key showed for each stream.

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
parent 912dd63e
...@@ -184,7 +184,7 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx) ...@@ -184,7 +184,7 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx)
&stream->time_base)); &stream->time_base));
while ((tag = av_metadata_get(stream->metadata, "", tag, AV_METADATA_IGNORE_SUFFIX))) 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"); printf("[/STREAM]\n");
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment