d3d12fence: Reset fence after waiting done

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5812>
This commit is contained in:
Seungha Yang 2023-12-15 19:18:02 +09:00
parent a24a155279
commit 7afa914054

View file

@ -157,6 +157,9 @@ gst_d3d12_fence_wait_for (GstD3D12Fence * fence, guint timeout_ms)
GST_TRACE ("target %" G_GUINT64_FORMAT " <= target: %" G_GUINT64_FORMAT,
priv->value, current);
}
priv->value = 0;
priv->fence->Signal (0);
}
void