From: Chris Tallon Date: Tue, 20 Nov 2012 21:51:35 +0000 (+0000) Subject: Allow more live priority values for VDR > 1.7.25 from hondansx X-Git-Tag: 0-4-0~1 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=93f3fd4f0e42f2577ddc3843288cbf3e94fe110c;p=vompserver.git Allow more live priority values for VDR > 1.7.25 from hondansx --- diff --git a/vompclientrrproc.c b/vompclientrrproc.c index 1a25c83..ae670cf 100644 --- a/vompclientrrproc.c +++ b/vompclientrrproc.c @@ -1138,7 +1138,11 @@ int VompClientRRProc::processStartStreamingChannel() } // a bit of sanity.. +#if VDRVERSNUM < 10725 if (priority < 0) priority = 0; +#else + if (priority < -99) priority = -99; +#endif if (priority > 99) priority = 99; log->log("RRProc", Log::DEBUG, "Using live TV priority %i", priority);