summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-01-23 13:20:46 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-01-23 13:20:46 +0100
commitd78cffb2e84566f7827ef4f88d9456f12a42f2da (patch)
tree9af0c4c5e2d3353f7ab3029a84a18fb050037d59
parentb63a582bf9b698ffd2de9a214c1aa08dc67d599b (diff)
oggdemux: ...and set caps on queued packet buffers too
-rw-r--r--ext/ogg/gstoggdemux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c
index 29f44cce..609e49f8 100644
--- a/ext/ogg/gstoggdemux.c
+++ b/ext/ogg/gstoggdemux.c
@@ -461,6 +461,7 @@ gst_ogg_demux_queue_data (GstOggPad * pad, ogg_packet * packet)
pad->map.serialno);
buf = gst_ogg_demux_buffer_from_packet (packet);
+ gst_buffer_set_caps (buf, pad->map.caps);
pad->map.queued = g_list_append (pad->map.queued, buf);
/* we are ok now */