if (!m_isCapturing && !m_isPlaying) return;
videoBox->setHidden(true);
control_frame->setEnabled(true);
+ slotActivateMonitor();
switch (device_selector->currentIndex()) {
case FIREWIRE:
m_captureProcess->write("\e", 2);
switch (device_selector->currentIndex()) {
case VIDEO4LINUX:
- slotActivateMonitor();
+ if (rec_video->isChecked()) slotActivateMonitor();
path = KStandardDirs::locateLocal("appdata", "profiles/video4linux");
profile = ProfilesDialog::getVideoProfile(path);
//m_videoBox->setRatio((double) profile.display_aspect_num / profile.display_aspect_den);
m_refreshTimer.stop();
QMutexLocker locker(&m_mutex);
if (m_mltProducer == NULL) return;
- if (m_mltConsumer && !m_mltConsumer->is_stopped()) {
- m_mltConsumer->stop();
+ if (m_mltConsumer) {
+ m_mltConsumer->set("refresh", 0);
+ if (!m_mltConsumer->is_stopped()) m_mltConsumer->stop();
m_mltConsumer->purge();
}