mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
tests: fix caps leak in videotestsrc test
This commit is contained in:
parent
f10e8192fa
commit
4c2a2063cf
1 changed files with 1 additions and 0 deletions
|
@ -350,6 +350,7 @@ GST_START_TEST (test_crop_to_1x1)
|
||||||
|
|
||||||
if (g_strcmp0 (gst_structure_get_name (s), "video/x-raw-gray") == 0) {
|
if (g_strcmp0 (gst_structure_get_name (s), "video/x-raw-gray") == 0) {
|
||||||
/* videotestsrc does not support this format */
|
/* videotestsrc does not support this format */
|
||||||
|
gst_caps_unref (caps);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue