diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/filter/vf.c | 2 | ||||
-rw-r--r-- | video/out/cocoa_common.m | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c index 0f7cc58ee5..1402ad3efc 100644 --- a/video/filter/vf.c +++ b/video/filter/vf.c @@ -109,7 +109,9 @@ static const vf_info_t *const filter_list[] = { &vf_info_sub, &vf_info_yadif, &vf_info_stereo3d, +#ifdef CONFIG_DLOPEN &vf_info_dlopen, +#endif NULL }; diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index dc95e537a1..f8a4e44cd9 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -617,6 +617,14 @@ int vo_cocoa_cgl_color_size(struct vo *vo) s->did_resize = YES; } } + +- (void)windowDidChangeBackingProperties:(NSNotification *)notification { + if (self.videoOutput) { + struct vo_cocoa_state *s = self.videoOutput->cocoa; + s->did_resize = YES; + } +} + - (void)toggleMissionControlFullScreen:(BOOL)willBeFullscreen { struct vo_cocoa_state *s = self.videoOutput->cocoa; |