openbsd-ports/multimedia/xine-lib/patches/patch-src_xine-engine_video_out_c
jakemsr df581e9d78 initial import of xine-lib
xine is a free multimedia player. It plays back CDs, DVDs, and VCDs. It
also decodes multimedia files like AVI, MOV, WMV, and MP3 from local
disk drives, and displays multimedia streamed over the Internet. It
interprets many of the most common multimedia formats available - and
some of the most uncommon formats, too.

prodded by jolan@ and bernd@
2006-03-24 22:43:41 +00:00

14 lines
559 B
Plaintext

$OpenBSD: patch-src_xine-engine_video_out_c,v 1.1.1.1 2006/03/24 22:43:41 jakemsr Exp $
--- src/xine-engine/video_out.c.orig Mon Nov 14 15:48:19 2005
+++ src/xine-engine/video_out.c Mon Jan 9 20:55:41 2006
@@ -1839,7 +1839,9 @@ xine_video_port_t *_x_vo_new_port (xine_
this->grab_only = 0;
pthread_attr_init(&pth_attrs);
+#if !defined(__OpenBSD__)
pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM);
+#endif
if ((err = pthread_create (&this->video_thread,
&pth_attrs, video_out_loop, this)) != 0) {