From dae057588befd82fde1c11437a0c74c259a7086a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 20 Aug 2019 16:50:46 +0200 Subject: 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. --- tests/test-subpicture.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') 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); -- cgit v1.2.1