This problem surfaced when I implemented the cropping display's positioning based on source video's aspect ratio. The pwindow actually scales the output mouse coordinates according to the dstdim - which I did not foresee (lol, Max). The good side of this is that it seems to work well with the rest of the pipeline, (ie. the images in selected cropping rectangles don't seem to shift in aspect ratio - so far) but the bad side is that the actual rectangle isn't exactly drawn at the tip of the mouse pointer. This can be annoying when one wants to accurately crop to a very small part of the display (with only the mouse, not using the numboxes).
The fix will probably involve interpreting the mouse coords based on the dstdim of the cropping pwindow.
This problem surfaced when I implemented the cropping display's positioning based on source video's aspect ratio. The pwindow actually scales the output mouse coordinates according to the dstdim - which I did not foresee (lol, Max). The good side of this is that it seems to work well with the rest of the pipeline, (ie. the images in selected cropping rectangles don't seem to shift in aspect ratio - so far) but the bad side is that the actual rectangle isn't exactly drawn at the tip of the mouse pointer. This can be annoying when one wants to accurately crop to a very small part of the display (with only the mouse, not using the numboxes). The fix will probably involve interpreting the mouse coords based on the dstdim of the cropping pwindow.