mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
oggdemux: Set caps on header buffers
This commit is contained in:
parent
12af633942
commit
b63a582bf9
1 changed files with 1 additions and 0 deletions
|
@ -759,6 +759,7 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet)
|
|||
pad->map.n_header_packets_seen++;
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue