mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
oggdemux: only create unknown caps once
This commit is contained in:
parent
4e1ed6f649
commit
867e635cde
1 changed files with 1 additions and 1 deletions
|
@ -784,7 +784,7 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet)
|
|||
|
||||
if (!pad->have_type) {
|
||||
pad->have_type = gst_ogg_stream_setup_map (&pad->map, packet);
|
||||
if (!pad->have_type) {
|
||||
if (!pad->have_type && !pad->map.caps) {
|
||||
pad->map.caps = gst_caps_new_empty_simple ("application/x-unknown");
|
||||
}
|
||||
if (pad->map.is_skeleton) {
|
||||
|
|
Loading…
Reference in a new issue