From 02a357fdb89c07bb523f94c91e5ce90249f7710b Mon Sep 17 00:00:00 2001 From: phintuka Date: Thu, 12 Apr 2007 22:53:36 +0000 Subject: Remove (unused) decoder priority setting --- frontend_local.c | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'frontend_local.c') diff --git a/frontend_local.c b/frontend_local.c index c894d75a..1e01a5a4 100644 --- a/frontend_local.c +++ b/frontend_local.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_local.c,v 1.23 2007-03-14 13:21:08 phintuka Exp $ + * $Id: frontend_local.c,v 1.24 2007-04-12 22:53:36 phintuka Exp $ * */ @@ -177,13 +177,12 @@ void cXinelibLocal::ConfigureWindow(int fullscreen, int width, int height, aspect, scale_video, field_order); } -void cXinelibLocal::ConfigureDecoder(int pes_buffers, int priority) +void cXinelibLocal::ConfigureDecoder(int pes_buffers) { // needs xine restart { LOCK_FE; xc.pes_buffers = pes_buffers; - xc.decoder_priority = priority; if(!fe) return; m_bReady = false; @@ -334,24 +333,6 @@ void cXinelibLocal::Action(void) TRACEF("cXinelibLocal::Action"); SetPriority(2); /* lower priority */ -#if 0 - // set priority - sched_param temp; - temp.sched_priority = 2; - - if (!pthread_setschedparam(pthread_self(), SCHED_RR, &temp)) { - TRACE("cXinelibLocal("<xine_init(fe, xc.audio_driver, xc.audio_port, xc.video_driver, - xc.pes_buffers, xc.decoder_priority, + xc.pes_buffers, 0, xc.post_plugins)) { LOGMSG("cXinelibLocal: Error initializing frontend"); break; -- cgit v1.2.3