From 1e364d04f5b9d1085ae469a7308ce95d157cf878 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Thu, 11 Jan 2007 16:59:40 +0000 Subject: 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. --- gst/apetag/gsttagdemux.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/apetag') diff --git a/gst/apetag/gsttagdemux.c b/gst/apetag/gsttagdemux.c index 1615f3f3..9baaebbe 100644 --- a/gst/apetag/gsttagdemux.c +++ b/gst/apetag/gsttagdemux.c @@ -1197,6 +1197,8 @@ gst_tag_demux_read_range (GstTagDemux * demux, /* this should only happen in streaming mode */ g_assert (*buffer != NULL); + + gst_buffer_set_caps (*buffer, demux->priv->src_caps); } return ret; -- cgit