Commit 1e364d04 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

gst/: Set correct caps on outgoing pulled buffers, or things blow up after recent core changes.

Original commit message from CVS:
* gst/apetag/gsttagdemux.c: (gst_tag_demux_read_range):
* gst/id3demux/gstid3demux.c: (gst_id3demux_read_range):
Set correct caps on outgoing pulled buffers, or things blow up
after recent core changes.
parent 5c1a7a92
2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
* gst/apetag/gsttagdemux.c: (gst_tag_demux_read_range):
* gst/id3demux/gstid3demux.c: (gst_id3demux_read_range):
Set correct caps on outgoing pulled buffers, or things blow up
after recent core changes.
2007-01-11 Wim Taymans <wim@fluendo.com> 2007-01-11 Wim Taymans <wim@fluendo.com>
Based on patch by: Jonas Holmberg <jonas dot holmberg at axis dot com> Based on patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
......
...@@ -1197,6 +1197,8 @@ gst_tag_demux_read_range (GstTagDemux * demux, ...@@ -1197,6 +1197,8 @@ gst_tag_demux_read_range (GstTagDemux * demux,
/* this should only happen in streaming mode */ /* this should only happen in streaming mode */
g_assert (*buffer != NULL); g_assert (*buffer != NULL);
gst_buffer_set_caps (*buffer, demux->priv->src_caps);
} }
return ret; return ret;
......
...@@ -977,6 +977,8 @@ gst_id3demux_read_range (GstID3Demux * id3demux, ...@@ -977,6 +977,8 @@ gst_id3demux_read_range (GstID3Demux * id3demux,
/* this should only happen in streaming mode */ /* this should only happen in streaming mode */
g_assert (*buffer != NULL); g_assert (*buffer != NULL);
gst_buffer_set_caps (*buffer, id3demux->src_caps);
} }
return ret; return ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment