diff options
author | Matthew Waters <ystreet00@gmail.com> | 2014-05-29 18:32:48 +1000 |
---|---|---|
committer | Matthew Waters <ystreet00@gmail.com> | 2014-05-29 18:32:48 +1000 |
commit | 5867eb42f3af8a016284e763c87d4bd50845f2e3 (patch) | |
tree | d0d617ab8617f8b246363a3019db0707e2094500 | |
parent | 4b5c5a7d372ef2dfa1f034b13bc445e1827cd459 (diff) | |
download | gstreamer-plugins-bad-5867eb42f3af8a016284e763c87d4bd50845f2e3.tar.gz |
tests: update for glupload changes
-rw-r--r-- | tests/check/libs/gstglupload.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/check/libs/gstglupload.c b/tests/check/libs/gstglupload.c index 6f60b763c..5c014a477 100644 --- a/tests/check/libs/gstglupload.c +++ b/tests/check/libs/gstglupload.c @@ -233,12 +233,9 @@ GST_START_TEST (test_upload_data) gst_video_info_set_format (&in_info, GST_VIDEO_FORMAT_RGBA, WIDTH, HEIGHT); - gst_gl_context_gen_texture (context, &tex_id, GST_VIDEO_FORMAT_RGBA, WIDTH, - HEIGHT); - 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); fail_if (res == FALSE, "Failed to upload buffer: %s\n", gst_gl_context_get_error ()); @@ -251,8 +248,6 @@ GST_START_TEST (test_upload_data) context); i++; } - - gst_gl_context_del_texture (context, &tex_id); } GST_END_TEST; |