mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
vtenc: use proper release callback type in CVPixelBufferCreateWithPlanarBytes
https://bugzilla.gnome.org/show_bug.cgi?id=711140
This commit is contained in:
parent
22eaf39c1a
commit
1b2b879bf4
1 changed files with 1 additions and 1 deletions
|
@ -819,7 +819,7 @@ gst_vtenc_encode_frame (GstVTEnc * self, GstBuffer * buf)
|
|||
plane_widths,
|
||||
plane_heights,
|
||||
plane_bytes_per_row,
|
||||
(CVPixelBufferReleaseBytesCallback) gst_vtenc_frame_free, frame,
|
||||
(CVPixelBufferReleasePlanarBytesCallback) gst_vtenc_frame_free, frame,
|
||||
NULL, &pbuf);
|
||||
if (cv_ret != kCVReturnSuccess) {
|
||||
gst_vtenc_frame_free (frame);
|
||||
|
|
Loading…
Reference in a new issue