vaapipostproc: fix mising metadata when using system

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1325>
This commit is contained in:
Ung, Teng En 2021-11-15 16:38:34 +08:00 committed by GStreamer Marge Bot
parent 55e04d129f
commit 219d757ac5

View file

@ -1578,6 +1578,9 @@ gst_vaapipostproc_transform (GstBaseTransform * trans, GstBuffer * inbuf,
ret = gst_vaapipostproc_passthrough (trans, buf, outbuf);
done:
if (sys_buf)
copy_metadata (postproc, sys_buf, buf);
gst_buffer_unref (buf);
if (sys_buf) {