summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2009-08-19 12:19:43 +0000
committerphintuka <phintuka>2009-08-19 12:19:43 +0000
commit81eac04a4ab849a91b7b8efd1b8c69bae6e395c7 (patch)
treeb472cd7af99ccda2e10092f60f7ea8a8dc3b8151
parent5a6634bb5d660f0fad1216fcf092b7bdeb7bae17 (diff)
downloadxineliboutput-81eac04a4ab849a91b7b8efd1b8c69bae6e395c7.tar.gz
xineliboutput-81eac04a4ab849a91b7b8efd1b8c69bae6e395c7.tar.bz2
Removed dead code
-rw-r--r--tools/udp_pes_scheduler.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/tools/udp_pes_scheduler.c b/tools/udp_pes_scheduler.c
index bf9a2490..d46a99a8 100644
--- a/tools/udp_pes_scheduler.c
+++ b/tools/udp_pes_scheduler.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: udp_pes_scheduler.c,v 1.51 2009-08-19 12:18:15 phintuka Exp $
+ * $Id: udp_pes_scheduler.c,v 1.52 2009-08-19 12:19:43 phintuka Exp $
*
*/
@@ -735,26 +735,6 @@ void cUdpScheduler::Schedule(const uchar *Data, int Length)
void cUdpScheduler::Action(void)
{
-#if 0
- {
- // Request real-time scheduling
- sched_param temp;
- temp.sched_priority = 2;
-
- if (!pthread_setschedparam(pthread_self(), SCHED_RR, &temp)) {
- LOGMSG("cUdpScheduler priority set successful SCHED_RR %d [%d,%d]",
- temp.sched_priority,
- sched_get_priority_min(SCHED_RR),
- sched_get_priority_max(SCHED_RR));
- } else {
- LOGMSG("cUdpScheduer: Can't set priority to SCHED_RR %d [%d,%d]",
- temp.sched_priority,
- sched_get_priority_min(SCHED_RR),
- sched_get_priority_max(SCHED_RR));
- }
- }
-#endif
-
/* UDP Scheduler needs high priority */
const int priority = -5;
SetPriority(priority);