ext/mad/gstmad.c: send the average bitrate read from the xing header
Original commit message from CVS: 2004-03-06 Christophe Fergeau <teuf@gnome.org> * ext/mad/gstmad.c: (gst_mad_chain): send the average bitrate read from the xing header
This commit is contained in:
parent
c336894adf
commit
05a4a12c53
@ -1,3 +1,8 @@
|
|||||||
|
2004-03-06 Christophe Fergeau <teuf@gnome.org>
|
||||||
|
|
||||||
|
* ext/mad/gstmad.c: (gst_mad_chain): send the average bitrate read
|
||||||
|
from the xing header
|
||||||
|
|
||||||
2004-03-06 Benjamin Otte <otte@gnome.org>
|
2004-03-06 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_getcaps),
|
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_getcaps),
|
||||||
|
@ -1208,6 +1208,7 @@ gst_mad_chain (GstPad *pad, GstData *_data)
|
|||||||
list = gst_tag_list_new ();
|
list = gst_tag_list_new ();
|
||||||
gst_tag_list_add (list, GST_TAG_MERGE_REPLACE,
|
gst_tag_list_add (list, GST_TAG_MERGE_REPLACE,
|
||||||
GST_TAG_DURATION, (gint64)time*1000*1000*1000,
|
GST_TAG_DURATION, (gint64)time*1000*1000*1000,
|
||||||
|
GST_TAG_BITRATE, bitrate,
|
||||||
NULL);
|
NULL);
|
||||||
gst_element_found_tags (GST_ELEMENT (mad), list);
|
gst_element_found_tags (GST_ELEMENT (mad), list);
|
||||||
if (GST_PAD_IS_USABLE (mad->srcpad)) {
|
if (GST_PAD_IS_USABLE (mad->srcpad)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user