d3d11screencapturesrc: frames lost
I noticed that periodically some frames are missing in the d3d11screencapturesrc capture.
To reproduce the problem I used this test video: 30fps_judder_test played in vlc. then i capture vlc with this pipeline:
gst-launch-1.0.exe -e d3d11screencapturesrc capture-api=1 window-handle=2229322 window-capture-mode=1 ! queue ! d3d11videosink
in this video you can see the results: 20240107_022310
on the right vlc player, on the left d3d11screencapturesrc capturing vlc
if you look at 00:05 the captured video is not smooth and it looks like some frames are dropped. this problem occurs occasionally however at least 1 time every 5 minutes. I tried the same test with other tools that use windows graphics capture api and and i didn't see this problem.
Could you please check if d3d11screencapturesrc can loose frames in some situation?
i'm testing Gstreamer version=1.23.0.1 artifacts