Skip to content
Snippets Groups Projects
Commit 3dd82765 authored by Víctor Manuel Jáquez Leal's avatar Víctor Manuel Jáquez Leal
Browse files

codecs: h264: unref leaked caps

Unref a leaked caps at set_latency().

Part-of: <!1590>
parent 912fa7ce
No related branches found
No related tags found
2 merge requests!1896Fix for gst-plugins-good issues/818. [Enhancement] dvbsuboverlay: Dynamic...,!1590codecs: h264: unref leaked caps
......@@ -1906,6 +1906,7 @@ gst_h264_decoder_set_latency (GstH264Decoder * self, const GstH264SPS * sps,
gst_structure_get_fraction (structure, "max-framerate", &fps_n, &fps_d);
}
}
gst_caps_unref (caps);
/* if no fps or variable, then 25/1 */
if (fps_n == 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment