Add configurable proxy settings and a menu entry
- Extend ProxyManager::ProxyParams with crf and preset, and update ProxyTask/ProxyParamsEqual to use them. - Add global config keys ProxyWidth, ProxyHeight, ProxyCRF, ProxyPreset. - Add a Proxy Settings group to Preferences -> Disk with width/height/CRF/preset controls. - Read proxy settings from config when generating proxies from the timeline. - Add Tools -> Proxy Settings... menu entry that opens Preferences on the Disk tab. - Add ConfigDialogBase::SetCurrentTab() so PreferencesDialog can start on a specific tab.
This commit is contained in:
@@ -228,6 +228,12 @@ void Config::SetDefaults()
|
||||
SetEntryInternal(QStringLiteral("DiskCacheAhead"), NodeValue::kRational,
|
||||
QVariant::fromValue(rational(60)));
|
||||
|
||||
SetEntryInternal(QStringLiteral("ProxyWidth"), NodeValue::kInt, 1280);
|
||||
SetEntryInternal(QStringLiteral("ProxyHeight"), NodeValue::kInt, 720);
|
||||
SetEntryInternal(QStringLiteral("ProxyCRF"), NodeValue::kInt, 23);
|
||||
SetEntryInternal(QStringLiteral("ProxyPreset"), NodeValue::kText,
|
||||
QStringLiteral("veryfast"));
|
||||
|
||||
SetEntryInternal(QStringLiteral("DefaultSequenceWidth"), NodeValue::kInt,
|
||||
1920);
|
||||
SetEntryInternal(QStringLiteral("DefaultSequenceHeight"), NodeValue::kInt,
|
||||
|
||||
Reference in New Issue
Block a user