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:
3d26fc3
)
parse: Don't error on discont
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 4 Oct 2010 15:27:00 +0000
(17:27 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 4 Oct 2010 15:27:00 +0000
(17:27 +0200)
We don't need to error out when we detect a discontinuity.
ext/theora/gsttheoraparse.c
patch
|
blob
|
history
diff --git
a/ext/theora/gsttheoraparse.c
b/ext/theora/gsttheoraparse.c
index 289b92802e29fa5f28ee1db196a83161944202a0..dcbe833574879152381c8cf13fdc35e389da9444 100644
(file)
--- a/
ext/theora/gsttheoraparse.c
+++ b/
ext/theora/gsttheoraparse.c
@@
-585,8
+585,7
@@
theora_parse_drain_queue (GstTheoraParse * parse, gint64 granulepos)
GST_WARNING ("jumped %" G_GINT64_FORMAT
" frames backwards! not sure what to do here",
parse->prev_frame - prev_frame);
- ret = GST_FLOW_ERROR;
- goto done;
+ parse->prev_frame = prev_frame;
} else if (prev_frame > parse->prev_frame) {
GST_INFO ("discontinuity detected (%" G_GINT64_FORMAT
" frames)", prev_frame - parse->prev_frame);