$NetBSD: patch-ah,v 1.4 2009/12/09 10:13:03 drochner Exp $

--- src/xine-engine/video_out.c.orig	2009-12-01 02:33:30.000000000 +0100
+++ src/xine-engine/video_out.c
@@ -1905,7 +1905,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) {
