From 302f123c62275e04deec532f28c3983a7f054751 Mon Sep 17 00:00:00 2001 From: Vineeth T M Date: Wed, 3 Sep 2014 15:23:26 +0530 Subject: [PATCH] videorate: GstStructure refcount critical message s3 is not being initialized when run in a loop and the same was being freed, which resulted in the crash https://bugzilla.gnome.org/show_bug.cgi?id=735952 --- gst/videorate/gstvideorate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/videorate/gstvideorate.c b/gst/videorate/gstvideorate.c index 14d628ff11..f8915c66b5 100644 --- a/gst/videorate/gstvideorate.c +++ b/gst/videorate/gstvideorate.c @@ -366,6 +366,7 @@ gst_video_rate_transform_caps (GstBaseTransform * trans, s1 = gst_structure_copy (s); s2 = gst_structure_copy (s); + s3 = NULL; if (videorate->drop_only) { gint min_num = 0, min_denom = 1;