summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-ah
blob: 10a2528c1cf85ca5ed1a6c062d62691341eb7390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ah,v 1.1.1.1 2004/01/26 13:03:38 jmmv 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) {