Commit b63a582b authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

oggdemux: Set caps on header buffers

parent 12af6339
......@@ -759,6 +759,7 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet)
if (!pad->map.have_headers) {
buf = gst_ogg_demux_buffer_from_packet (packet);
gst_buffer_set_caps (buf, pad->map.caps);
pad->map.headers = g_list_append (pad->map.headers, buf);
GST_DEBUG ("keeping header packet %d", pad->map.n_header_packets_seen);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment