diff --git a/mythtv/libs/libmythtv/tv_rec.cpp b/mythtv/libs/libmythtv/tv_rec.cpp
index 7440f03..07f83a9 100644
a
|
b
|
void TVRec::FinishedRecording(RecordingInfo *curRec, RecordingQuality *recq) |
931 | 931 | curRec->GetRecordingStartTime().addSecs(60)); |
932 | 932 | } |
933 | 933 | |
934 | | // HACK Temporary hack, ensure we've loaded the recording file info, do it now |
935 | | // so that it contains the final filesize information |
936 | | if (!curRec->GetRecordingFile()) |
937 | | curRec->LoadRecordingFile(); |
938 | | |
939 | 934 | // Generate a preview |
940 | 935 | uint64_t fsize = curRec->GetFilesize(); |
| 936 | LOG(VB_GENERAL, LOG_INFO, QString("#12290 test. fsize=%1.").arg(fsize)); |
941 | 937 | if (curRec->IsLocal() && (fsize >= 1000) && |
942 | 938 | (curRec->GetRecordingStatus() == RecStatus::Recorded)) |
943 | 939 | { |
… |
… |
void TVRec::TeardownRecorder(uint request_flags) |
1156 | 1152 | if (!!(request_flags & kFlagKillRec)) |
1157 | 1153 | curRecording->SetRecordingStatus(RecStatus::Failed); |
1158 | 1154 | |
| 1155 | curRecording->SaveFilesize(ringBuffer->GetRealFileSize()); |
1159 | 1156 | FinishedRecording(curRecording, recq); |
1160 | 1157 | |
1161 | 1158 | curRecording->MarkAsInUse(false, kRecorderInUseID); |