diff options
Diffstat (limited to 'graphics/xine-lib/patches/patch-aa')
-rw-r--r-- | graphics/xine-lib/patches/patch-aa | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/graphics/xine-lib/patches/patch-aa b/graphics/xine-lib/patches/patch-aa deleted file mode 100644 index 5ede22f88c2..00000000000 --- a/graphics/xine-lib/patches/patch-aa +++ /dev/null @@ -1,38 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2003/04/11 09:49:20 rh Exp $ - ---- src/xine-engine/video_decoder.c.orig 2003-04-06 10:23:10.000000000 +1000 -+++ src/xine-engine/video_decoder.c -@@ -33,6 +33,10 @@ - #include "xineutils.h" - #include <sched.h> - -+#ifndef SCHED_OTHER -+#define SCHED_OTHER 0 -+#endif -+ - /* - #define LOG - */ -@@ -393,7 +397,9 @@ void *video_decoder_loop (void *stream_g - void video_decoder_init (xine_stream_t *stream) { - - pthread_attr_t pth_attrs; -+#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - struct sched_param pth_params; -+#endif - int err, num_buffers; - - /* The fifo size is based on dvd playback where buffers are filled -@@ -416,10 +422,12 @@ void video_decoder_init (xine_stream_t * - stream->spu_track_map_entries = 0; - - pthread_attr_init(&pth_attrs); -+#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_attr_getschedparam(&pth_attrs, &pth_params); - pth_params.sched_priority = sched_get_priority_min(SCHED_OTHER); - pthread_attr_setschedparam(&pth_attrs, &pth_params); - pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM); -+#endif - - if ((err = pthread_create (&stream->video_thread, - &pth_attrs, video_decoder_loop, stream)) != 0) { |