projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b03b223
)
oggdemux: ignore header pages when looking for keyframe
author
David Schleef
<ds@schleef.org>
Wed, 5 Jan 2011 23:54:15 +0000
(15:54 -0800)
committer
David Schleef
<ds@schleef.org>
Thu, 6 Jan 2011 20:34:32 +0000
(12:34 -0800)
This was causing keyframe_granule to be set to 0 for all streams
when seeking to the beginning of the stream, i.e., at the
beginning of playback. Fixes #619778.
ext/ogg/gstoggdemux.c
patch
|
blob
|
history
diff --git
a/ext/ogg/gstoggdemux.c
b/ext/ogg/gstoggdemux.c
index
18ecc55
..
76d179e
100644
(file)
--- a/
ext/ogg/gstoggdemux.c
+++ b/
ext/ogg/gstoggdemux.c
@@
-2113,7
+2113,7
@@
gst_ogg_demux_do_seek (GstOggDemux * ogg, GstSegment * segment,
goto next;
granulepos = ogg_page_granulepos (&og);
- if (granulepos == -1) {
+ if (granulepos == -1
|| granulepos == 0
) {
GST_LOG_OBJECT (ogg, "granulepos of next page is -1");
continue;
}