Ticket #11300: 0004-merged-devel-rtp-2a6c040136ce.patch

File 0004-merged-devel-rtp-2a6c040136ce.patch, 1.1 KB (added by gradhika.dn@…, 8 years ago)

merged devel/rtp 2a6c040136ce0

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

    From cde09a2750cd5e25014c1e695d325868fe5aba72 Mon Sep 17 00:00:00 2001
    From: Daniel Thor Kristjansson <danielk@cuymedia.net>
    Date: Fri, 11 May 2012 14:55:32 -0400
    Subject: [PATCH 4/5] merged devel/rtp #2a6c040136ce
    
    ---
     .../libs/libmythtv/recorders/iptvstreamhandler.cpp |    4 ++--
     1 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/mythtv/libs/libmythtv/recorders/iptvstreamhandler.cpp b/mythtv/libs/libmythtv/recorders/iptvstreamhandler.cpp
    index 188cf0e..fdcd269 100644
    a b void IPTVStreamHandler::run(void) 
    184184        int buf_size = 2 * 1024 * max(tuning.GetBitrate(i)/1000, 500U);
    185185        if (!tuning.GetBitrate(i))
    186186            buf_size = 2 * 1024 * 1024;
    187         int ok = setsockopt(fd, SOL_SOCKET, SO_RCVBUF,
     187        int err = setsockopt(fd, SOL_SOCKET, SO_RCVBUF,
    188188                            (char *)&buf_size, sizeof(buf_size));
    189         if (ok)
     189        if (err)
    190190        {
    191191            LOG(VB_GENERAL, LOG_INFO, LOC +
    192192                QString("Increasing buffer size to %1 failed")