|
|
|
@ -94,18 +94,10 @@ static const int kCurrentPreferencesVersion = 4; |
|
|
|
// In VLC 2.2.x, config for filters was fully controlled by audio and video effects panel. |
|
|
|
// In VLC 3.0, this is no longer the case and VLCs config is not touched anymore. Therefore, |
|
|
|
// disable filter in VLCs config in this transition. |
|
|
|
playlist_t *p_playlist = pl_Get(getIntf()); |
|
|
|
var_SetString(p_playlist, "audio-filter", ""); |
|
|
|
var_SetString(p_playlist, "video-filter", ""); |
|
|
|
|
|
|
|
config_PutPsz("audio-filter", ""); |
|
|
|
config_PutPsz("video-filter", ""); |
|
|
|
config_SaveConfigFile(getIntf()); |
|
|
|
|
|
|
|
// This migration only has effect rarely, therefore only restart then |
|
|
|
if (!hasUpdated) |
|
|
|
return; |
|
|
|
|
|
|
|
} else { |
|
|
|
NSArray *libraries = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, |
|
|
|
NSUserDomainMask, YES); |
|
|
|
|