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:
2026-07-13 10:19:30 +08:00
parent 468b6f1d1b
commit f0119a910c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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(
+1 -1
View File
@@ -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)
{ {