mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
parse: Don't error on discont
We don't need to error out when we detect a discontinuity.
This commit is contained in:
parent
3d26fc3d8f
commit
88cf7a2156
1 changed files with 1 additions and 2 deletions
|
@ -585,8 +585,7 @@ theora_parse_drain_queue (GstTheoraParse * parse, gint64 granulepos)
|
||||||
GST_WARNING ("jumped %" G_GINT64_FORMAT
|
GST_WARNING ("jumped %" G_GINT64_FORMAT
|
||||||
" frames backwards! not sure what to do here",
|
" frames backwards! not sure what to do here",
|
||||||
parse->prev_frame - prev_frame);
|
parse->prev_frame - prev_frame);
|
||||||
ret = GST_FLOW_ERROR;
|
parse->prev_frame = prev_frame;
|
||||||
goto done;
|
|
||||||
} else if (prev_frame > parse->prev_frame) {
|
} else if (prev_frame > parse->prev_frame) {
|
||||||
GST_INFO ("discontinuity detected (%" G_GINT64_FORMAT
|
GST_INFO ("discontinuity detected (%" G_GINT64_FORMAT
|
||||||
" frames)", prev_frame - parse->prev_frame);
|
" frames)", prev_frame - parse->prev_frame);
|
||||||
|
|
Loading…
Reference in a new issue