mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
vtenc: Add missing gst_vtenc_frame_free() in error path
https://bugzilla.gnome.org/show_bug.cgi?id=750668
This commit is contained in:
parent
9fb4d5df20
commit
f5c29c7379
1 changed files with 1 additions and 0 deletions
|
@ -1164,6 +1164,7 @@ gst_vtenc_encode_frame (GstVTEnc * self, GstVideoCodecFrame * frame)
|
|||
pixel_format_type = kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange;
|
||||
break;
|
||||
default:
|
||||
gst_vtenc_frame_free (vframe);
|
||||
goto cv_error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue