diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-11-04 17:16:23 -0400 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-12-08 14:58:58 +0100 |
commit | 075374cda3a9b08bb77babb4aaef43402921527d (patch) | |
tree | 1aa992f8934a6a27558c9b90a54b8a00340d07c5 /tests/test-surfaces.c | |
parent | 99c5d18f412a6f42d6bbf9b931675b8597a1539f (diff) | |
download | gst-vaapi-075374cda3a9b08bb77babb4aaef43402921527d.tar.gz |
Change caps to use new video/x-surface generic type.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'tests/test-surfaces.c')
-rw-r--r-- | tests/test-surfaces.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-surfaces.c b/tests/test-surfaces.c index 9cd23e33..17e97516 100644 --- a/tests/test-surfaces.c +++ b/tests/test-surfaces.c @@ -66,7 +66,8 @@ main(int argc, char *argv[]) g_object_unref(surface); caps = gst_caps_new_simple( - "video/x-vaapi-surface", + GST_VAAPI_SURFACE_CAPS_NAME, + "type", G_TYPE_STRING, "vaapi", "width", G_TYPE_INT, width, "height", G_TYPE_INT, height, NULL |