summaryrefslogtreecommitdiffstats
path: root/gst/apetag
diff options
context:
space:
mode:
Diffstat (limited to 'gst/apetag')
-rw-r--r--gst/apetag/gsttagdemux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/apetag/gsttagdemux.c b/gst/apetag/gsttagdemux.c
index 53146604..b5d9cc32 100644
--- a/gst/apetag/gsttagdemux.c
+++ b/gst/apetag/gsttagdemux.c
@@ -610,6 +610,11 @@ gst_tag_demux_chain (GstPad * pad, GstBuffer * buf)
GST_DEBUG_OBJECT (demux, "Pushing buffer %p", outbuf);
/* gst_util_dump_mem (GST_BUFFER_DATA (outbuf),
GST_BUFFER_SIZE (outbuf)); */
+
+ /* Ensure the caps are set correctly */
+ outbuf = gst_buffer_make_metadata_writable (outbuf);
+ gst_buffer_set_caps (outbuf, GST_PAD_CAPS (demux->priv->srcpad));
+
return gst_pad_push (demux->priv->srcpad, outbuf);
}
}