mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
baseparse: Fix slightly broken buffer-in-segment check (aacparse, amrparse, flacparse)
This commit is contained in:
parent
da8fb9be91
commit
922c644bf3
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ gst_base_parse_handle_and_push_buffer (GstBaseParse * parse,
|
||||||
} else if (GST_BUFFER_TIMESTAMP_IS_VALID (buffer) &&
|
} else if (GST_BUFFER_TIMESTAMP_IS_VALID (buffer) &&
|
||||||
GST_BUFFER_DURATION_IS_VALID (buffer) &&
|
GST_BUFFER_DURATION_IS_VALID (buffer) &&
|
||||||
GST_CLOCK_TIME_IS_VALID (parse->segment.start) &&
|
GST_CLOCK_TIME_IS_VALID (parse->segment.start) &&
|
||||||
GST_BUFFER_TIMESTAMP (buffer) + GST_BUFFER_DURATION_IS_VALID (buffer)
|
GST_BUFFER_TIMESTAMP (buffer) + GST_BUFFER_DURATION (buffer)
|
||||||
< parse->segment.start) {
|
< parse->segment.start) {
|
||||||
/* FIXME: subclass needs way to override the start as downstream might
|
/* FIXME: subclass needs way to override the start as downstream might
|
||||||
* need frames before for proper decoding */
|
* need frames before for proper decoding */
|
||||||
|
|
Loading…
Reference in a new issue