Ticket #12328: 12328_v1.patch

File 12328_v1.patch, 735 bytes (added by Jim Stichnoth, 5 years ago)
  • mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.cpp

    diff --git a/mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.cpp b/mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.cpp
    index f7bf640..de2611b 100644
    a b extern "C" { 
    6666#include "RTjpegN.h"
    6767
    6868#include "programinfo.h"
     69#include "mythsystemevent.h"
    6970
    7071#define LOC QString("NVR(%1): ").arg(videodevice)
    7172
    void NuppelVideoRecorder::WriteVideo(VideoFrame *frame, bool skipsync, 
    30993100        ringBuffer->Write(out, out_len);
    31003101    }
    31013102
     3103    if (framesWritten == 0)
     3104        SendMythSystemRecEvent("REC_STARTED_WRITING", curRecording);
     3105
    31023106    frameofgop++;
    31033107    framesWritten++;
    31043108