summaryrefslogtreecommitdiff
path: root/tools/udp_pes_scheduler.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/udp_pes_scheduler.c')
-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);