projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
549bc3c
)
oggdemux: wait for headers before exposing chains
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 6 May 2010 10:06:09 +0000
(12:06 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 6 May 2010 10:06:09 +0000
(12:06 +0200)
Wait until we have all the stream headers before we start exposing the streams
of a chain.
ext/ogg/gstoggdemux.c
patch
|
blob
|
history
diff --git
a/ext/ogg/gstoggdemux.c
b/ext/ogg/gstoggdemux.c
index
c490bee
..
de8bc8f
100644
(file)
--- a/
ext/ogg/gstoggdemux.c
+++ b/
ext/ogg/gstoggdemux.c
@@
-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 */