From 05a4a12c5384b10c14e4262dbc3b7f05c5f05252 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Sat, 6 Mar 2004 16:02:21 +0000 Subject: [PATCH] ext/mad/gstmad.c: send the average bitrate read from the xing header Original commit message from CVS: 2004-03-06 Christophe Fergeau * ext/mad/gstmad.c: (gst_mad_chain): send the average bitrate read from the xing header --- ChangeLog | 5 +++++ ext/mad/gstmad.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3bf8f2092a..aa4b17ec27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-03-06 Christophe Fergeau + + * ext/mad/gstmad.c: (gst_mad_chain): send the average bitrate read + from the xing header + 2004-03-06 Benjamin Otte * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_getcaps), diff --git a/ext/mad/gstmad.c b/ext/mad/gstmad.c index 6f6ff1d0ff..7ef1b6d611 100644 --- a/ext/mad/gstmad.c +++ b/ext/mad/gstmad.c @@ -1208,6 +1208,7 @@ gst_mad_chain (GstPad *pad, GstData *_data) list = gst_tag_list_new (); gst_tag_list_add (list, GST_TAG_MERGE_REPLACE, GST_TAG_DURATION, (gint64)time*1000*1000*1000, + GST_TAG_BITRATE, bitrate, NULL); gst_element_found_tags (GST_ELEMENT (mad), list); if (GST_PAD_IS_USABLE (mad->srcpad)) {