void RecMonitor::stop()
{
+ // Special case: when recording audio only, do not stop so that we can do voiceover.
+ if (device_selector->currentIndex() == VIDEO4LINUX && !rec_video->isChecked()) return;
slotStopCapture();
}
void RecMonitor::slotRecord()
{
- control_frame->setEnabled(false);
-
if (m_captureProcess->state() == QProcess::NotRunning && device_selector->currentIndex() == FIREWIRE) {
slotStartPreview();
}
m_recAction->setEnabled(false);
m_stopAction->setEnabled(true);
m_previewSettings->setEnabled(false);
+ control_frame->setEnabled(false);
}
else {
video_frame->setText(i18n("Failed to start Video4Linux,\ncheck your parameters..."));