gl/tests: update for upload API changes

This commit is contained in:
Matthew Waters 2014-09-22 20:01:27 +10:00 committed by Tim-Philipp Müller
parent 9dd4f40ad6
commit d946559238

View file

@ -235,7 +235,7 @@ GST_START_TEST (test_upload_data)
gst_gl_upload_set_format (upload, &in_info);
res = gst_gl_upload_perform_with_data (upload, &tex_id, data);
res = gst_gl_upload_perform_with_data (upload, &tex_id, data, NULL);
fail_if (res == FALSE, "Failed to upload buffer: %s\n",
gst_gl_context_get_error ());
@ -269,7 +269,7 @@ GST_START_TEST (test_upload_buffer)
gst_gl_upload_set_format (upload, &in_info);
res = gst_gl_upload_perform_with_buffer (upload, buffer, &tex_id);
res = gst_gl_upload_perform_with_buffer (upload, buffer, &tex_id, NULL);
fail_if (res == FALSE, "Failed to upload buffer: %s\n",
gst_gl_context_get_error ());