mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
record.cpp: a bit more readability
Origin commit data
------------------
Commit: 2cbaa7489f
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-20 (Sun, 20 Jan 2019)
Origin message was:
------------------
- record.cpp: a bit more readability
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user