tests: fix caps leak in baseparse unit test

This commit is contained in:
Tim-Philipp Müller 2014-09-25 16:21:51 +01:00
parent 4a304a7774
commit 26be9f0581

View file

@ -181,6 +181,7 @@ send_startup_events (void)
TEST_VIDEO_WIDTH, "height", G_TYPE_INT, TEST_VIDEO_HEIGHT, "framerate",
GST_TYPE_FRACTION, TEST_VIDEO_FPS_N, TEST_VIDEO_FPS_D, NULL);
fail_unless (gst_pad_push_event (mysrcpad, gst_event_new_caps (caps)));
gst_caps_unref (caps);
}
static void