mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
vaapipostproc: don't copy the GstParentBufferMeta if use_vpp
Otherwise a reference to a DMABuf input buffer is kept until the output buffer is deleted. https://bugzilla.gnome.org/show_bug.cgi?id=796399
This commit is contained in:
parent
aa77862b62
commit
d79bda3153
1 changed files with 5 additions and 0 deletions
|
@ -1280,6 +1280,11 @@ gst_vaapipostproc_transform_meta (GstBaseTransform * trans, GstBuffer * outbuf,
|
||||||
/* dont' GstVideoCropMeta if use_vpp */
|
/* dont' GstVideoCropMeta if use_vpp */
|
||||||
if (meta->info->api == GST_VIDEO_CROP_META_API_TYPE && postproc->use_vpp)
|
if (meta->info->api == GST_VIDEO_CROP_META_API_TYPE && postproc->use_vpp)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
/* don't copy GstParentBufferMeta if use_vpp */
|
||||||
|
if (meta->info->api == GST_PARENT_BUFFER_META_API_TYPE && postproc->use_vpp)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue