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 0561c988ff
commit 6dfdb654ef

View file

@ -180,6 +180,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