ofxAVFVideoPlayer icon indicating copy to clipboard operation
ofxAVFVideoPlayer copied to clipboard

video translation on 10.9 mavericks fixed

Open kunzberg opened this issue 12 years ago • 2 comments

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

kunzberg avatar Oct 28 '13 14:10 kunzberg

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

https://github.com/pusnik/ofxAVFVideoPlayer

pusnik avatar Oct 24 '14 13:10 pusnik

@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

mertrois avatar Jan 30 '16 19:01 mertrois