]> git.vomp.tv Git - vompserver.git/commitdiff
Allow more live priority values for VDR > 1.7.25 from hondansx
authorChris Tallon <chris@telescope.org>
Tue, 20 Nov 2012 21:51:35 +0000 (21:51 +0000)
committerChris Tallon <chris@telescope.org>
Tue, 20 Nov 2012 21:51:35 +0000 (21:51 +0000)
vompclientrrproc.c

index 1a25c83e94dd73cdd4a153fdf79f6855af7e4155..ae670cf6822b4d0600adb139851129f39f61c8c0 100644 (file)
@@ -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);