$NetBSD: patch-ah,v 1.3 2006/12/08 09:24:26 abs Exp $

--- src/xine-engine/video_out.c.orig	2006-03-25 01:26:34.000000000 +0000
+++ src/xine-engine/video_out.c
@@ -1848,7 +1848,9 @@ xine_video_port_t *_x_vo_new_port (xine_
     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) {
