export: fixed stills

This commit is contained in:
itsmattkc
2022-05-29 10:15:32 -07:00
parent abb9c409e2
commit bbf6f8f9f9
7 changed files with 30 additions and 10 deletions
+3 -2
View File
@@ -68,7 +68,8 @@ ViewerWidget::ViewerWidget(QWidget *parent) :
prequeuing_video_(false),
prequeuing_audio_(0),
record_armed_(false),
recording_(false)
recording_(false),
enable_audio_scrubbing_(true)
{
// Set up main layout
QVBoxLayout* layout = new QVBoxLayout(this);
@@ -838,7 +839,7 @@ void ViewerWidget::PauseInternal()
void ViewerWidget::PushScrubbedAudio()
{
if (!IsPlaying() && GetConnectedNode() && OLIVE_CONFIG("AudioScrubbing").toBool()) {
if (!IsPlaying() && GetConnectedNode() && OLIVE_CONFIG("AudioScrubbing").toBool() && enable_audio_scrubbing_) {
// Get audio src device from renderer
const AudioParams& params = GetConnectedNode()->audio_playback_cache()->GetParameters();