summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/apetag/gsttagdemux.c2
-rw-r--r--gst/id3demux/gstid3demux.c2
2 files changed, 4 insertions, 0 deletions
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;
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;