mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
- record.cpp: a bit more readability
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -272,15 +272,15 @@ record_error_msg_t CRecordInstance::Start(CZapitChannel * channel)
|
|||||||
apids[numpids++] = allpids.PIDs.pmtpid;
|
apids[numpids++] = allpids.PIDs.pmtpid;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (record == NULL)
|
||||||
|
{
|
||||||
#if HAVE_ARM_HARDWARE
|
#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 = new cRecord(channel->getRecordDemux(), g_settings.recording_bufsize_dmx * 1024 * 1024, g_settings.recording_bufsize * 1024 * 1024);
|
||||||
record->setFailureCallback(&recordingFailureHelper, this);
|
record->setFailureCallback(&recordingFailureHelper, this);
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
if(record == NULL)
|
|
||||||
record = new cRecord(channel->getRecordDemux() /*RECORD_DEMUX*/);
|
record = new cRecord(channel->getRecordDemux() /*RECORD_DEMUX*/);
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
record->Open();
|
record->Open();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user