mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 17:52:29 +00:00
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:
parent
ae414e8ab4
commit
98a2f3f54b
2 changed files with 13 additions and 4 deletions
|
@ -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>
|
2005-01-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* gst/qtdemux/qtdemux.c: (qtdemux_parse_tree):
|
* gst/qtdemux/qtdemux.c: (qtdemux_parse_tree):
|
||||||
|
|
|
@ -561,10 +561,6 @@ gst_audioscale_chain (GstPad * pad, GstData * _data)
|
||||||
g_return_if_fail (buf != NULL);
|
g_return_if_fail (buf != NULL);
|
||||||
|
|
||||||
audioscale = GST_AUDIOSCALE (gst_pad_get_parent (pad));
|
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)) {
|
if (GST_IS_EVENT (_data)) {
|
||||||
GstEvent *e = GST_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;
|
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);
|
data = GST_BUFFER_DATA (buf);
|
||||||
size = GST_BUFFER_SIZE (buf);
|
size = GST_BUFFER_SIZE (buf);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue