summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-08-20 16:50:46 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-08-20 17:11:23 +0200
commitdae057588befd82fde1c11437a0c74c259a7086a (patch)
tree3519fa6364bb011836fc301a403e4e78491dfa92 /tests
parente8b52f59f54573b459ce2f00c02a0633923543a7 (diff)
downloadgstreamer-vaapi-dae057588befd82fde1c11437a0c74c259a7086a.tar.gz
libs: remove surface's parent context
In commit 18031dc6 surface's parent context is not assigned because of circular references. Since then (2013), there's has no issue with subpictures attached to a context, the current only users of this API. This patch cleans up all of related code with the unused surface's parent context.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-subpicture.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-subpicture.c b/tests/test-subpicture.c
index ee000560..804f0a9e 100644
--- a/tests/test-subpicture.c
+++ b/tests/test-subpicture.c
@@ -149,8 +149,7 @@ main (int argc, char *argv[])
g_error ("could not create video overlay composition");
gst_video_overlay_rectangle_unref (overlay);
- if (!gst_vaapi_surface_set_subpictures_from_composition (surface, compo,
- FALSE))
+ if (!gst_vaapi_surface_set_subpictures_from_composition (surface, compo))
g_error ("could not create subpictures from video overlay compoition");
gst_vaapi_window_show (window);