Ticket #6833: hvr1300_0.23rc2_not-working.patch

File hvr1300_0.23rc2_not-working.patch, 1.2 KB (added by radu.cx+mythtv@…, 10 years ago)

Attempted refresh of the original patch

  • mythtv/libs/libmythtv/mpegrecorder.h

    class MpegRecorder : public DTVRecorder, 
    3434    void Initialize(void) {}
    3535    void StartRecording(void);
    3636    void StopRecording(void);
     37    void FinishRecording(void);
    3738    void Reset(void);
    3839
    3940    void Pause(bool clear = true);
  • mythtv/libs/libmythtv/mpegrecorder.cpp

    bool MpegRecorder::ProcessAVTSPacket(const TSPacke 
    13861386void MpegRecorder::StopRecording(void)
    13871387{
    13881388    QMutexLocker locker(&recording_wait_lock);
    1389     if (recording)
     1389    if (recording && encoding)
    13901390    {
    13911391        encoding = false; // force exit from StartRecording() while loop
    13921392        recording_wait.wait(&recording_wait_lock);
    13931393    }
    13941394}
    13951395
     1396void MpegRecorder::FinishRecording(void)
     1397{
     1398        DTVRecorder::FinishRecording();
     1399        TeardownAll();
     1400}
     1401
    13961402void MpegRecorder::ResetForNewFile(void)
    13971403{
    13981404    DTVRecorder::ResetForNewFile();