From df40ddf0aab02d9269974ddb86879abeb0429aee Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Tue, 23 Aug 2011 11:08:25 +0100 Subject: [PATCH] oggdemux: add media type to chain information reports One more little step in making logs a little less abstruse. https://bugzilla.gnome.org/show_bug.cgi?id=657151 --- ext/ogg/gstoggdemux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 1131fb9..165bb23 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -3688,7 +3688,8 @@ gst_ogg_print (GstOggDemux * ogg) for (j = 0; j < chain->streams->len; j++) { GstOggPad *stream = g_array_index (chain->streams, GstOggPad *, j); - GST_INFO_OBJECT (ogg, " stream %08x:", stream->map.serialno); + GST_INFO_OBJECT (ogg, " stream %08x: %s", stream->map.serialno, + gst_ogg_stream_get_media_type (&stream->map)); GST_INFO_OBJECT (ogg, " start time: %" GST_TIME_FORMAT, GST_TIME_ARGS (stream->start_time)); } -- 2.7.4