simonguest / quick-camera

Quick Camera is a MacOS utility to display, mirror, and rotate the output from any of your cameras
44 stars 20 forks source link

Fix aspect ratio on video so that there is no black space #2

Open simonguest opened 11 years ago

mfripp commented 4 years ago

I'd really appreciate the option to crop rather than letterbox when resizing. Then I could make a square or vertical floating window that just shows me, instead of a widescreen view with unneeded background. This could also be an easy alternative to freezing the aspect ratio, since it would also eliminate the letterboxes and users could naturally choose the shape that is right for them.

This might be as simple as adding self.captureLayer.videoGravity = AVLayerVideoGravity.resizeAspectFill;.