From f0861f466f6b65ec4fbe9ff551a9b8a6adaff1f0 Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Thu, 7 Sep 2006 08:09:15 +0000 Subject: Better tag support: - Make ffplay show comments and copyright info besides the current track, title, author, album, year and genre. - Makes the AVI demuxer parse the album name stores in the IPRD tag by the AVI muxer. Patch by takis P issaris A uhasselt P be Original thread: [Ffmpeg-devel] [PATCH] Better tag support Date: 09/06/06 16:58 Originally committed as revision 6186 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffplay.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ffplay.c') diff --git a/ffplay.c b/ffplay.c index 77d4aaa983..be9972b262 100644 --- a/ffplay.c +++ b/ffplay.c @@ -1755,6 +1755,10 @@ static void dump_stream_info(const AVFormatContext *s) fprintf(stderr, "Title: %s\n", s->title); if (s->author[0] != '\0') fprintf(stderr, "Author: %s\n", s->author); + if (s->copyright[0] != '\0') + fprintf(stderr, "Copyright: %s\n", s->copyright); + if (s->comment[0] != '\0') + fprintf(stderr, "Comment: %s\n", s->comment); if (s->album[0] != '\0') fprintf(stderr, "Album: %s\n", s->album); if (s->year != 0) -- cgit v1.2.3