mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
baseparse: track consumed input size
... as used by subsequent input data rate estimation (and seeking).
This commit is contained in:
parent
63ba55865c
commit
d148569cd4
1 changed files with 3 additions and 0 deletions
|
@ -2224,6 +2224,9 @@ gst_base_parse_finish_frame (GstBaseParse * parse, GstBaseParseFrame * frame,
|
|||
gst_buffer_unref (frame->out_buffer);
|
||||
frame->out_buffer = NULL;
|
||||
|
||||
/* mark input size consumed */
|
||||
frame->size = size;
|
||||
|
||||
/* subclass might queue frames/data internally if it needs more
|
||||
* frames to decide on the format, or might request us to queue here. */
|
||||
if (frame->flags & GST_BASE_PARSE_FRAME_FLAG_DROP) {
|
||||
|
|
Loading…
Reference in a new issue