mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
tests: one more adapter test
This commit is contained in:
parent
9197f4399b
commit
23314ddefb
1 changed files with 4 additions and 0 deletions
|
@ -475,6 +475,10 @@ GST_START_TEST (test_scan)
|
|||
gst_adapter_masked_scan_uint32 (adapter, 0xffffffff, 0x60616263, 0x61, 3);
|
||||
fail_unless (offset == -1);
|
||||
|
||||
offset =
|
||||
gst_adapter_masked_scan_uint32 (adapter, 0xffffffff, 0x60616263, 99, 1);
|
||||
fail_unless (offset == -1);
|
||||
|
||||
/* add another buffer */
|
||||
buffer = gst_buffer_new_and_alloc (100);
|
||||
data = GST_BUFFER_DATA (buffer);
|
||||
|
|
Loading…
Reference in a new issue