mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue