From 883cc45e4791c8f796de86e31fe72e5a6deae709 Mon Sep 17 00:00:00 2001 From: Tim Champagne Date: Tue, 6 May 2003 14:02:24 +0000 Subject: This is some general Win32 cleanup and getting ready for DVD support. CVS patchset: 4779 CVS date: 2003/05/06 14:02:24 --- src/xine-engine/video_out.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/xine-engine') diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index 30c4d5197..7dea53123 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.c,v 1.156 2003/05/05 22:29:31 tmattern Exp $ + * $Id: video_out.c,v 1.157 2003/05/06 14:02:27 tchamp Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -837,13 +837,15 @@ static void *video_out_loop (void *this_gen) { int64_t frame_duration, next_frame_vpts; int64_t usec_to_sleep; +#ifndef WIN32 /* nice(-value) will fail silently for normal users. * however when running as root this may provide smoother * playback. follow the link for more information: * http://cambuca.ldhs.cetuc.puc-rio.br/~miguel/multimedia_sim/ */ nice(-2); - +#endif /* WIN32 */ + /* * here it is - the heart of xine (or rather: one of the hearts * of xine) : the video output loop -- cgit v1.2.3