From 576c7b55aa835448c977f1d79d128dffd40e7cd8 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Sat, 9 Mar 2013 20:00:53 +0000 Subject: Prune redundant pipeline ancestry after adding a layer difference Adding a layer difference may mean the pipeline overrides all of the layers of its parent which might make the parent redundant so we should try to prune the hierarchy. This is particularly important for CoglGst because whenever a new frame is ready it tries to make a copy of the pipeline it last used and then replace all of the textures in the layers. Without this patch the new pipeline would keep the parent pipeline alive which means also keeping the old textures alive so all of the frames of the video would effectively be leaked. Reviewed-by: Robert Bragg --- tests/conform/test-conform-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/conform/test-conform-main.c b/tests/conform/test-conform-main.c index 8a38d27c..82d631ee 100644 --- a/tests/conform/test-conform-main.c +++ b/tests/conform/test-conform-main.c @@ -120,7 +120,7 @@ main (int argc, char **argv) ADD_TEST (test_primitive_and_journal, 0, 0); - ADD_TEST (test_copy_replace_texture, 0, TEST_KNOWN_FAILURE); + ADD_TEST (test_copy_replace_texture, 0, 0); UNPORTED_TEST (test_viewport); -- cgit v1.2.1