Commit 2537bfb0 authored by Felix Paul Kühne's avatar Felix Paul Kühne

settings: expose 'automatic' deinterlacing and make it the default

Closes #136
parent a35e1cfe
......@@ -86,13 +86,25 @@
</dict>
<dict>
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
<string>PSMultiValueSpecifier</string>
<key>Title</key>
<string>SETTINGS_DEINTERLACE</string>
<key>Key</key>
<string>deinterlace</string>
<key>DefaultValue</key>
<false/>
<integer>-1</integer>
<key>Values</key>
<array>
<string>1</string>
<string>0</string>
<string>-1</string>
</array>
<key>Titles</key>
<array>
<string>SETTINGS_DEINTERLACE_ON</string>
<string>SETTINGS_DEINTERLACE_OFF</string>
<string>SETTINGS_DEINTERLACE_AUTO</string>
</array>
</dict>
<dict>
<key>Type</key>
......
......@@ -76,13 +76,25 @@
</dict>
<dict>
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
<string>PSMultiValueSpecifier</string>
<key>Title</key>
<string>SETTINGS_DEINTERLACE</string>
<key>Key</key>
<string>deinterlace</string>
<key>DefaultValue</key>
<false/>
<integer>-1</integer>
<key>Values</key>
<array>
<integer>1</integer>
<string>0</string>
<string>-1</string>
</array>
<key>Titles</key>
<array>
<string>SETTINGS_DEINTERLACE_ON</string>
<string>SETTINGS_DEINTERLACE_OFF</string>
<string>SETTINGS_DEINTERLACE_AUTO</string>
</array>
</dict>
<dict>
<key>Type</key>
......
......@@ -33,7 +33,7 @@
#define kVLCSettingSkipLoopFilterNonRef @(1)
#define kVLCSettingSkipLoopFilterNonKey @(3)
#define kVLCSettingDeinterlace @"deinterlace"
#define kVLCSettingDeinterlaceDefaultValue @(0)
#define kVLCSettingDeinterlaceDefaultValue @(-1)
#define kVLCSettingHardwareDecoding @"codec"
#define kVLCSettingHardwareDecodingDefault @""
#define kVLCSettingSubtitlesFont @"quartztext-font"
......
......@@ -274,16 +274,18 @@
<key>Key</key>
<string>deinterlace</string>
<key>DefaultValue</key>
<integer>0</integer>
<integer>-1</integer>
<key>Titles</key>
<array>
<string>SETTINGS_DEINTERLACE_ON</string>
<string>SETTINGS_DEINTERLACE_OFF</string>
<string>SETTINGS_DEINTERLACE_AUTO</string>
</array>
<key>Values</key>
<array>
<integer>1</integer>
<integer>0</integer>
<string>-1</string>
</array>
</dict>
<dict>
......
......@@ -244,16 +244,18 @@
<key>Key</key>
<string>deinterlace</string>
<key>DefaultValue</key>
<integer>0</integer>
<integer>-1</integer>
<key>Titles</key>
<array>
<string>SETTINGS_DEINTERLACE_ON</string>
<string>SETTINGS_DEINTERLACE_OFF</string>
<string>SETTINGS_DEINTERLACE_AUTO</string>
</array>
<key>Values</key>
<array>
<integer>1</integer>
<integer>0</integer>
<string>-1</string>
</array>
</dict>
<dict>
......
......@@ -37,7 +37,7 @@
#define kVLCSettingSubtitlesFontColorDefaultValue @"16777215"
#define kVLCSettingSubtitlesFilePath @"sub-file"
#define kVLCSettingDeinterlace @"deinterlace"
#define kVLCSettingDeinterlaceDefaultValue @(0)
#define kVLCSettingDeinterlaceDefaultValue @(-1)
#define kVLCSettingHardwareDecoding @"codec"
#define kVLCSettingHardwareDecodingDefault @""
#define kVLCSettingNetworkCaching @"network-caching"
......
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