Commit d0c2a91d authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fix run-time exception

(cherry picked from commit 79c5b0cdfe74e38ebf0f234afccf5b085ed5771b)
parent 1dfa595d
/*****************************************************************************
* TrackSynchronization.m: MacOS X interface module
*****************************************************************************
* Copyright (C) 2011-2012 VLC authors and VideoLAN
* Copyright (C) 2011-2012 Felix Paul Kühne
* Copyright (C) 2011-2014 VLC authors and VideoLAN
* Copyright (C) 2011-2014 Felix Paul Kühne
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
......@@ -24,9 +24,9 @@
#import "CompatibilityFixes.h"
#import "intf.h"
#import "VideoEffects.h"
#import <vlc_common.h>
#import "TrackSynchronization.h"
#import "CoreInteraction.h"
#define SUBSDELAY_CFG_MODE "subsdelay-mode"
#define SUBSDELAY_CFG_FACTOR "subsdelay-factor"
......@@ -218,7 +218,7 @@ static VLCTrackSynchronization *_o_sharedInstance = nil;
var_SetFloat(p_obj, SUBSDELAY_CFG_FACTOR, f_factor);
vlc_object_release(p_obj);
}
[[VLCVideoEffects sharedInstance] setVideoFilter: "subsdelay" on: f_factor > 0];
[[VLCCoreInteraction sharedInstance] setVideoFilter: "subsdelay" on: f_factor > 0];
vlc_object_release(p_input);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment