mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
oggdemux: wait for headers before exposing chains
Wait until we have all the stream headers before we start exposing the streams of a chain.
This commit is contained in:
parent
549bc3c80e
commit
27de725038
1 changed files with 2 additions and 2 deletions
|
@ -809,8 +809,8 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet)
|
|||
|
||||
/* we know the start_time of the pad data, see if we
|
||||
* can activate the complete chain if this is a dynamic
|
||||
* chain. */
|
||||
if (pad->start_time != GST_CLOCK_TIME_NONE) {
|
||||
* chain. We need all the headers too for this. */
|
||||
if (pad->start_time != GST_CLOCK_TIME_NONE && pad->map.have_headers) {
|
||||
GstOggChain *chain = pad->chain;
|
||||
|
||||
/* check if complete chain has start time */
|
||||
|
|
Loading…
Reference in a new issue