convertframe: Fix leak in case of vcrop is disabled
https://bugzilla.gnome.org/show_bug.cgi?id=784639
This commit is contained in:
parent
b39f5067e3
commit
65406774ae
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user