qtmux: do not unref sample caps

https://bugzilla.gnome.org/show_bug.cgi?id=671534
This commit is contained in:
Matej Knopp 2012-03-08 01:53:50 -05:00 committed by Tim-Philipp Müller
parent bb8bc237b5
commit 0ee34c293f

View file

@ -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");