mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 14:32:31 +00:00
tests: remove ASSERT_CRITICAL disablement in overlay composition unit test
No idea why that was there.
This commit is contained in:
parent
9fc640b9e0
commit
f234923c07
1 changed files with 1 additions and 3 deletions
|
@ -781,9 +781,6 @@ GST_START_TEST (test_video_size_from_caps)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
#undef ASSERT_CRITICAL
|
|
||||||
#define ASSERT_CRITICAL(code) while(0){} /* nothing */
|
|
||||||
|
|
||||||
GST_START_TEST (test_overlay_composition)
|
GST_START_TEST (test_overlay_composition)
|
||||||
{
|
{
|
||||||
GstVideoOverlayComposition *comp1, *comp2;
|
GstVideoOverlayComposition *comp1, *comp2;
|
||||||
|
@ -907,6 +904,7 @@ GST_START_TEST (test_overlay_composition)
|
||||||
fail_unless (gst_video_buffer_get_overlay_composition (buf) == NULL);
|
fail_unless (gst_video_buffer_get_overlay_composition (buf) == NULL);
|
||||||
|
|
||||||
gst_buffer_ref (buf);
|
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));
|
ASSERT_CRITICAL (gst_video_buffer_set_overlay_composition (buf, comp1));
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
gst_video_buffer_set_overlay_composition (buf, comp1);
|
gst_video_buffer_set_overlay_composition (buf, comp1);
|
||||||
|
|
Loading…
Reference in a new issue