Enable video auto-cache by default
- Default ViewerOutput::autocache_input_video_ to true so new sequences and viewer outputs use the frame cache without requiring the user to manually enable Auto-Cache. - Update the DefaultSequenceAutoCache2 config default to true for consistency.
This commit is contained in:
@@ -246,7 +246,7 @@ void Config::SetDefaults()
|
|||||||
SetEntryInternal(QStringLiteral("DefaultSequenceInterlacing"),
|
SetEntryInternal(QStringLiteral("DefaultSequenceInterlacing"),
|
||||||
NodeValue::kInt, VideoParams::kInterlaceNone);
|
NodeValue::kInt, VideoParams::kInterlaceNone);
|
||||||
SetEntryInternal(QStringLiteral("DefaultSequenceAutoCache2"),
|
SetEntryInternal(QStringLiteral("DefaultSequenceAutoCache2"),
|
||||||
NodeValue::kBoolean, false);
|
NodeValue::kBoolean, true);
|
||||||
SetEntryInternal(QStringLiteral("DefaultSequenceAudioFrequency"),
|
SetEntryInternal(QStringLiteral("DefaultSequenceAudioFrequency"),
|
||||||
NodeValue::kInt, 48000);
|
NodeValue::kInt, 48000);
|
||||||
SetEntryInternal(
|
SetEntryInternal(
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ ViewerOutput::ViewerOutput(bool create_buffer_inputs,
|
|||||||
: last_length_(0)
|
: last_length_(0)
|
||||||
, video_length_(0)
|
, video_length_(0)
|
||||||
, audio_length_(0)
|
, audio_length_(0)
|
||||||
, autocache_input_video_(false)
|
, autocache_input_video_(true)
|
||||||
, autocache_input_audio_(false)
|
, autocache_input_audio_(false)
|
||||||
, waveform_requests_enabled_(false)
|
, waveform_requests_enabled_(false)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user