Some work on tags - still doesn't work in playbin...

Original commit message from CVS:
* ext/musepack/gstmusepackreader.cpp:
* gst/apetag/apedemux.c: (gst_ape_demux_stream_data):
Some work on tags - still doesn't work in playbin...
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Handle events...
This commit is contained in:
Ronald S. Bultje 2005-01-10 16:42:27 +00:00
parent ae414e8ab4
commit 98a2f3f54b
2 changed files with 13 additions and 4 deletions

View file

@ -1,3 +1,11 @@
2005-01-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/musepack/gstmusepackreader.cpp:
* gst/apetag/apedemux.c: (gst_ape_demux_stream_data):
Some work on tags - still doesn't work in playbin...
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Handle events...
2005-01-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/qtdemux/qtdemux.c: (qtdemux_parse_tree):

View file

@ -561,10 +561,6 @@ gst_audioscale_chain (GstPad * pad, GstData * _data)
g_return_if_fail (buf != NULL);
audioscale = GST_AUDIOSCALE (gst_pad_get_parent (pad));
if (audioscale->passthru && audioscale->num_iterations == 0) {
gst_pad_push (audioscale->srcpad, GST_DATA (buf));
return;
}
if (GST_IS_EVENT (_data)) {
GstEvent *e = GST_EVENT (_data);
@ -607,6 +603,11 @@ gst_audioscale_chain (GstPad * pad, GstData * _data)
audioscale->gst_resample->o_rate / GST_SECOND;
}
if (audioscale->passthru && audioscale->num_iterations == 0) {
gst_pad_push (audioscale->srcpad, GST_DATA (buf));
return;
}
data = GST_BUFFER_DATA (buf);
size = GST_BUFFER_SIZE (buf);