mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
check: gstvalue: Check return value
As is done everywhere else CID #1455540 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/472>
This commit is contained in:
parent
f085dabebc
commit
9daf1ca44e
1 changed files with 1 additions and 1 deletions
|
@ -2787,7 +2787,7 @@ GST_START_TEST (test_serialize_deserialize_caps)
|
|||
|
||||
/* now deserialize again */
|
||||
g_value_init (&value2, GST_TYPE_CAPS);
|
||||
gst_value_deserialize (&value2, serialized);
|
||||
fail_unless (gst_value_deserialize (&value2, serialized));
|
||||
|
||||
caps2 = g_value_get_boxed (&value2);
|
||||
fail_if (GST_CAPS_REFCOUNT_VALUE (caps2) != 1);
|
||||
|
|
Loading…
Reference in a new issue