rFlex / SCRecorder

iOS camera engine with Vine-like tap to record, animatable filters, slow motion, segments editing
Apache License 2.0
3.06k stars 582 forks source link

SCSwipableFilterView wrong aspect ratio #397

Open namanhams opened 7 years ago

namanhams commented 7 years ago

It seems that no matter what contentMode we set, the output is always ScaleToFill. After few hours of digging into the code without any success, i decided to try the SCRecorderExample project, and turned out it also has this issue.

Is this a bug or am i missing anything here ?

ultimatevegance commented 7 years ago

i got the same issue...

tblanchard commented 7 years ago

Ditto - although images look OK - its just video.

EDIT:

It helps to set the capture video size to the same size you're going to display. Good enuff for me.

SCVideoConfiguration *video = _recorder.videoConfiguration; video.size = self.view.bounds.size;