[fix] prioritize resolution in CLI previews

This commit is contained in:
dijunkun
2026-11-02 15:18:53 +08:00
parent 28398c0067
commit 6de7165fb0
4 changed files with 7 additions and 1 deletions
@@ -342,6 +342,9 @@ void ControllerSession::Preview() {
// 60 is the existing interactive-mode sentinel, not a 60 FPS request.
// The encoder cadence is independently specified by frame_rate.
s.frame_rate = 30;
// Preserve desktop text detail at every cadence, including 30 FPS previews.
s.preference =
static_cast<int>(VideoDegradationPreference::MaintainResolution);
s.audio = false;
s.quality = options_.quality;
if (resolution_) {