diff --git a/src/driver/record.cpp b/src/driver/record.cpp index 8be35dd28..499edbad0 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -275,15 +275,15 @@ record_error_msg_t CRecordInstance::Start(CZapitChannel * channel) apids[numpids++] = allpids.PIDs.pmtpid; #endif + if (record == NULL) + { #if HAVE_ARM_HARDWARE - if(record == NULL) { record = new cRecord(channel->getRecordDemux(), g_settings.recording_bufsize_dmx * 1024 * 1024, g_settings.recording_bufsize * 1024 * 1024); record->setFailureCallback(&recordingFailureHelper, this); - } #else - if(record == NULL) record = new cRecord(channel->getRecordDemux() /*RECORD_DEMUX*/); #endif + } record->Open();