mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
tests: additional offset tracking in parser test helper
This commit is contained in:
parent
91dd0a4f91
commit
ca1887d3ec
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ buffer_verify_data (void *buffer, void *user_data)
|
|||
if (ctx_verify_buffer)
|
||||
ctx_verify_buffer (vdata, buffer);
|
||||
vdata->buffer_counter++;
|
||||
vdata->offset_counter += GST_BUFFER_SIZE (buffer);
|
||||
if (vdata->buffer_counter == vdata->discard) {
|
||||
vdata->buffer_counter = 0;
|
||||
vdata->discard = 0;
|
||||
|
|
Loading…
Reference in a new issue