mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
vaapiupload: use g_object_unref() for GstVaapiImage.
This commit is contained in:
parent
f64bafea59
commit
843f528f95
1 changed files with 1 additions and 1 deletions
|
@ -695,7 +695,7 @@ gst_vaapiupload_buffer_alloc(
|
|||
image = gst_vaapi_surface_derive_image(surface);
|
||||
if (image && gst_vaapi_image_get_data_size(image) == size) {
|
||||
gst_vaapi_video_buffer_set_image(vbuffer, image);
|
||||
gst_object_unref(image); /* video buffer owns an extra reference */
|
||||
g_object_unref(image); /* video buffer owns an extra reference */
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue