mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
ext/soup/gstsouphttpsrc.c: Actually set the icy caps on our src pad if we have icecast data.
Original commit message from CVS: * ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_chunk_allocator): Actually set the icy caps on our src pad if we have icecast data. Fixes bug #523854.
This commit is contained in:
parent
180aee532b
commit
89c2fe05be
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_chunk_allocator):
|
||||||
|
Actually set the icy caps on our src pad if we have icecast data.
|
||||||
|
Fixes bug #523854.
|
||||||
|
|
||||||
2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
|
2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -731,6 +731,7 @@ gst_soup_http_src_chunk_allocator (SoupMessage * msg, gsize max_len,
|
||||||
|
|
||||||
rc = gst_pad_alloc_buffer (GST_BASE_SRC_PAD (basesrc),
|
rc = gst_pad_alloc_buffer (GST_BASE_SRC_PAD (basesrc),
|
||||||
GST_BUFFER_OFFSET_NONE, length,
|
GST_BUFFER_OFFSET_NONE, length,
|
||||||
|
src->icy_caps ? src->icy_caps :
|
||||||
GST_PAD_CAPS (GST_BASE_SRC_PAD (basesrc)), &gstbuf);
|
GST_PAD_CAPS (GST_BASE_SRC_PAD (basesrc)), &gstbuf);
|
||||||
if (G_UNLIKELY (rc != GST_FLOW_OK)) {
|
if (G_UNLIKELY (rc != GST_FLOW_OK)) {
|
||||||
/* Failed to allocate buffer. Stall SoupSession and return error code
|
/* Failed to allocate buffer. Stall SoupSession and return error code
|
||||||
|
|
Loading…
Reference in a new issue