summaryrefslogtreecommitdiff
path: root/graphics/xine-lib/patches/patch-ah
blob: 840d3fc526a73af4d3c35ec7ead0316f0bc30831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ah,v 1.2 2003/04/11 09:19:54 rh Exp $

--- src/xine-engine/video_out.c.orig	2003-04-06 10:23:10.000000000 +1000
+++ src/xine-engine/video_out.c
@@ -1443,7 +1443,9 @@ xine_video_port_t *vo_new_port (xine_t *
     this->grab_only            = 0;
     
     pthread_attr_init(&pth_attrs);
+#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
     pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM);
+#endif
     
     if ((err = pthread_create (&this->video_thread,
 			       &pth_attrs, video_out_loop, this)) != 0) {