summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.c
diff options
context:
space:
mode:
authorTim Champagne <tchamp@users.sourceforge.net>2003-05-06 14:02:24 +0000
committerTim Champagne <tchamp@users.sourceforge.net>2003-05-06 14:02:24 +0000
commit883cc45e4791c8f796de86e31fe72e5a6deae709 (patch)
tree6a72b90346d9ce418d140588b78e9674ccc2f321 /src/xine-engine/video_out.c
parent476abbd3d2c89c3951d9144f2f483e9d9e551a75 (diff)
downloadxine-lib-883cc45e4791c8f796de86e31fe72e5a6deae709.tar.gz
xine-lib-883cc45e4791c8f796de86e31fe72e5a6deae709.tar.bz2
This is some general Win32 cleanup and getting ready for DVD support.
CVS patchset: 4779 CVS date: 2003/05/06 14:02:24
Diffstat (limited to 'src/xine-engine/video_out.c')
-rw-r--r--src/xine-engine/video_out.c6
1 files changed, 4 insertions, 2 deletions
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