Commit 0ee34c29 authored by Matej Knopp's avatar Matej Knopp Committed by Tim-Philipp Müller
Browse files

qtmux: do not unref sample caps

https://bugzilla.gnome.org/show_bug.cgi?id=671534
parent bb8bc237
......@@ -681,7 +681,6 @@ gst_qt_mux_add_mp4_cover (GstQTMux * qtmux, const GstTagList * list,
flags = 13;
else if (gst_structure_has_name (structure, "image/png"))
flags = 14;
gst_caps_unref (caps);
if (!flags) {
GST_WARNING_OBJECT (qtmux, "preview image format not supported");
......
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