Commit aa08be43 authored by Garima Gaur's avatar Garima Gaur Committed by Sebastian Dröge
parent bf11338d
......@@ -341,6 +341,7 @@ mpegpsmux_create_stream (MpegPsMux * mux, MpegPsPadData * ps_data, GstPad * pad)
}
beach:
gst_caps_unref (caps);
return ret;
}
......
......@@ -91,11 +91,14 @@ size_changed (GObject * obj, GParamSpec * pspec, IDirectFBWindow * window)
gint width, height;
if (!(gst_structure_get_int (s, "width", &width) &&
gst_structure_get_int (s, "height", &height)))
gst_structure_get_int (s, "height", &height))) {
gst_caps_unref (caps);
return;
}
window->Resize (window, width, height);
}
gst_caps_unref (caps);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment