d3d11screencapturesrc: feature request
i use a lot d3d11screencapturesrc to capture and stream the window of another application. I only need to capture the client area of a window so i pass the crop-x crop-y etc etc parameters that i calculate in my app. Then i call the pipeline like:
gst-launch-1.0.exe -e d3d11screencapturesrc capture-api=1 window-handle=68864 crop-x=30 crop-width=1089 crop-y=40 crop-height=612 ! queue ! videoconvert ! d3d11videosink
i calculate width and heigth with my app that is DPI_AWARENESS_UNAWARE while gst-launch appears to works as DPI_AWARENESS_PER_MONITOR_AWARE so my capture width/height parameters are wrong if the monitor DPI is more the 96DPI. The cropped capture appears smaller than what I need
It would be nice if you can add a "client-area" property and it will automatically exclude the window title bar and borders (so I don't have to calculate the client area by myself).
Or alternatively if you can add a "DPI_AWARENESS" property so the the crop-width and crop-height values are correctly passed.
Thank you Maurizio