convertframe: Fix leak in case of vcrop is disabled

https://bugzilla.gnome.org/show_bug.cgi?id=784639
This commit is contained in:
Heekyoung Seo 2017-07-07 09:18:30 +09:00 committed by Sebastian Dröge
parent b39f5067e3
commit 65406774ae

View file

@ -119,6 +119,7 @@ build_convert_frame_pipeline (GstElement ** src_element,
if (cmeta) {
if (!create_element ("videocrop", &vcrop, &error)) {
g_error_free (error);
g_warning
("build_convert_frame_pipeline: Buffer has crop metadata but videocrop element is not found. Cropping will be disabled");
} else {