From f234923c07afc6e0aa5d6ab819a9fca55c8124d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 14 Mar 2012 15:31:45 +0000 Subject: [PATCH] tests: remove ASSERT_CRITICAL disablement in overlay composition unit test No idea why that was there. --- tests/check/libs/video.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/check/libs/video.c b/tests/check/libs/video.c index ea32bd4..3e13341 100644 --- a/tests/check/libs/video.c +++ b/tests/check/libs/video.c @@ -781,9 +781,6 @@ GST_START_TEST (test_video_size_from_caps) GST_END_TEST; -#undef ASSERT_CRITICAL -#define ASSERT_CRITICAL(code) while(0){} /* nothing */ - GST_START_TEST (test_overlay_composition) { GstVideoOverlayComposition *comp1, *comp2; @@ -907,6 +904,7 @@ GST_START_TEST (test_overlay_composition) fail_unless (gst_video_buffer_get_overlay_composition (buf) == NULL); gst_buffer_ref (buf); + /* buffer now has refcount of 2, so its metadata is not writable */ ASSERT_CRITICAL (gst_video_buffer_set_overlay_composition (buf, comp1)); gst_buffer_unref (buf); gst_video_buffer_set_overlay_composition (buf, comp1); -- 2.7.4