On 06.09.2016 at 20:12 Richard Charles wrote:

> Use AVPlayerLayer which is a subclass of CALayer. Set your parent
> NSView as a layer backed view or as a layer hosting view. This
> process can be a little confusing.

> Refer to Setting Up Layer Objects.

> https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CoreAnimation_guide/SettingUpLayerObjects/SettingUpLayerObjects.html

Thanks, that did the trick! I don't need AVPlayerView at all, I can just
use an AVPlayerLayer and add this as a sublayer to my NSView's layer. Seems
to work fine so far. Thanks for the hint! Another advantage is that 
AVPlayerLayer
is available in 10.7 whereas AVPlayerView requires 10.9.

-- 
Best regards,
 Andreas Falkenhahn                            mailto:andr...@falkenhahn.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to