Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

video translation on 10.9 mavericks fixed #2

Open
kunzberg opened this issue Oct 28, 2013 · 2 comments
Open

video translation on 10.9 mavericks fixed #2

kunzberg opened this issue Oct 28, 2013 · 2 comments

Comments

@kunzberg
Copy link

hi kronick

for some reason the video was translated in osx mavericks

in ofxAVFVideoRenderer i fixed this by

self.layerRenderer.bounds = CGRectMake(0, 0, videoSize.width, videoSize.height);
[self.layerRenderer.layer setAnchorPoint:CGPointMake(0.0, 0.0)];

and commenting out the translation in the render function...

everything renders fine now from 10.7 to 10.9

greetings ascorbin

@pusnik
Copy link

pusnik commented Oct 24, 2014

Great. It works. I made a fork with that fix included.

https://github.com/pusnik/ofxAVFVideoPlayer

@mertrois
Copy link

@kunzberg I tried that fix in the render method, but still getting a strange crop&translate on my video. Only rendering the upper right quadrant of the video. I'm on OSX 10.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants