summaryrefslogtreecommitdiffstats
path: root/gst/id3demux
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-01-11 16:59:40 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-01-11 16:59:40 +0000
commit1e364d04f5b9d1085ae469a7308ce95d157cf878 (patch)
tree224c2b886718e61b4fa658c82811df00dffcecbb /gst/id3demux
parent5c1a7a9260add782b8ab430cd8102847c3e6b81a (diff)
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.
Diffstat (limited to 'gst/id3demux')
-rw-r--r--gst/id3demux/gstid3demux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/id3demux/gstid3demux.c b/gst/id3demux/gstid3demux.c
index ef7a4c19..469514f9 100644
--- a/gst/id3demux/gstid3demux.c
+++ b/gst/id3demux/gstid3demux.c
@@ -977,6 +977,8 @@ gst_id3demux_read_range (GstID3Demux * id3demux,
/* this should only happen in streaming mode */
g_assert (*buffer != NULL);
+
+ gst_buffer_set_caps (*buffer, id3demux->src_caps);
}
return ret;