diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2020-01-24 22:08:50 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2020-02-23 13:12:15 +0100 |
commit | 8c08ef31a5ce6c69ae0502b174ec591c0d0d8d2a (patch) | |
tree | 5e88f7002354757384551501efbc55b6ddf26877 /tests | |
parent | 3ff51a6e5232ce529777ce5856c2afc12526a9c2 (diff) |
libs: surface: surfacepool: Add allocation flags in constructors.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/internal/test-filter.c | 3 | ||||
-rw-r--r-- | tests/internal/test-surfaces.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/internal/test-filter.c b/tests/internal/test-filter.c index fcdd95c2..650af220 100644 --- a/tests/internal/test-filter.c +++ b/tests/internal/test-filter.c @@ -106,7 +106,8 @@ create_test_surface (GstVaapiDisplay * display, guint width, guint height, goto error_invalid_format; } - surface = gst_vaapi_surface_new_with_format (display, format, width, height); + surface = + gst_vaapi_surface_new_with_format (display, format, width, height, 0); if (!surface) goto error_create_surface; diff --git a/tests/internal/test-surfaces.c b/tests/internal/test-surfaces.c index d0fbfaf4..9f515eed 100644 --- a/tests/internal/test-surfaces.c +++ b/tests/internal/test-surfaces.c @@ -60,7 +60,7 @@ main (int argc, char *argv[]) gst_vaapi_surface_unref (surface); pool = gst_vaapi_surface_pool_new (display, GST_VIDEO_FORMAT_ENCODED, - width, height); + width, height, 0); if (!pool) g_error ("could not create Gst/VA surface pool"); |