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:
cebddd5
)
oggdemux: Reset keyframe_granule when needed
author
Edward Hervey
<bilboed@bilboed.com>
Sun, 15 May 2016 10:01:17 +0000
(12:01 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Sun, 15 May 2016 12:39:25 +0000
(14:39 +0200)
This avoids ending up with bogus values when doing flushing seeks
in push-mode.
https://bugzilla.gnome.org/show_bug.cgi?id=766467
ext/ogg/gstoggdemux.c
patch
|
blob
|
history
diff --git
a/ext/ogg/gstoggdemux.c
b/ext/ogg/gstoggdemux.c
index
284f55e
..
9fe3a28
100644
(file)
--- a/
ext/ogg/gstoggdemux.c
+++ b/
ext/ogg/gstoggdemux.c
@@
-2319,6
+2319,7
@@
gst_ogg_demux_reset_streams (GstOggDemux * ogg)
stream->start_time = -1;
stream->map.accumulated_granule = 0;
stream->current_granule = -1;
+ stream->keyframe_granule = -1;
}
ogg->building_chain = chain;
GST_DEBUG_OBJECT (ogg, "Resetting current chain");