Ticket #12145: ceton2.diff

File ceton2.diff, 926 bytes (added by JYA, 10 years ago)

updated version

  • mythtv/libs/libmythtv/recorders/cetonrtsp.cpp

    diff --git a/mythtv/libs/libmythtv/recorders/cetonrtsp.cpp b/mythtv/libs/libmythtv/recorders/cetonrtsp.cpp
    index 80a5b1a..7ec0212 100644
    a b CetonRTSP::CetonRTSP(const QString &ip, uint tuner, ushort port) : 
    2424    _sequenceNumber(0),
    2525    _sessionId("0"),
    2626    _responseCode(-1),
    27     _timeout(60),
     27    _timeout(0),
    2828    _timer(0)
    2929{
    3030    _requestUrl.setHost(ip);
    CetonRTSP::CetonRTSP(const QUrl &url) : 
    3939    _sessionId("0"),
    4040    _requestUrl(url),
    4141    _responseCode(-1),
    42     _timeout(60),
     42    _timeout(0),
    4343    _timer(0)
    4444{
    4545    if (url.port() < 0)
    bool CetonRTSP::Teardown(void) 
    479479
    480480void CetonRTSP::StartKeepAlive()
    481481{
    482     if (_timer)
     482    if (_timer || !_timeout)
    483483        return;
    484484    int timeout = std::max(_timeout - 5, 5);
    485485    LOG(VB_RECORD, LOG_DEBUG, LOC +