vtenc: use proper release callback type in CVPixelBufferCreateWithPlanarBytes

https://bugzilla.gnome.org/show_bug.cgi?id=711140
This commit is contained in:
Matthieu Bouron 2013-10-23 17:22:16 +01:00 committed by Olivier Crête
parent 22eaf39c1a
commit 1b2b879bf4

View file

@ -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);