summaryrefslogtreecommitdiff
path: root/dxr3outputthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3outputthread.c')
-rw-r--r--dxr3outputthread.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/dxr3outputthread.c b/dxr3outputthread.c
index 2a6fc3b..8d6d311 100644
--- a/dxr3outputthread.c
+++ b/dxr3outputthread.c
@@ -22,7 +22,6 @@
#include <stdio.h>
#include <unistd.h>
#include <time.h>
-#include <pthread.h>
#include "dxr3outputthread.h"
#include "dxr3log.h"
@@ -90,14 +89,6 @@ void cDxr3AudioOutThread::Action()
cLog::Instance() << "cDxr3AudioOutThread::Action Thread started\n";
- sched_param temp;
- temp.sched_priority = 2;
-
- if (!pthread_setschedparam(pthread_self(), SCHED_RR, &temp))
- {
- cLog::Instance() << "cDxr3AudioOutThread::Action(): Error can't set priority\n";
- }
-
while (!GetStopSignal())
{
pts = 0;
@@ -183,14 +174,6 @@ void cDxr3VideoOutThread::Action()
cLog::Instance() << "cDxr3VideoOutThread::Action Thread started\n";
- sched_param temp;
- temp.sched_priority = 1;
-
- if (!pthread_setschedparam(pthread_self(), SCHED_RR, &temp))
- {
- cLog::Instance() << "cDxr3VideoOutThread::Action(): Error can't set priority\n";
- }
-
while (!GetStopSignal())
{
cFixedLengthFrame* pNext = m_buffer.Get();