mirror of https://git.ffmpeg.org/ffmpeg.git
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
This commit is contained in:
parent
912dd63ecb
commit
b6a4185367
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue