pkgsrc/graphics/xine-lib/patches/patch-ai
rh f9552a2a8a Update xine-lib to 1.0rc10.
Package changes are:
  * drop gnome-vfs dependency
  * use _POSIX_THREAD_PRIORITY_SCHEDULING for determining pthread
    capabilities (suggested by Nick Hudson)

xine-lib changes include:
  * loading and displaying png images (e.g. for logos)
  * capability of on-the-fly stream rewiring
  * libdvdnav: PGC based positioning:
    seeking on DVDs now spans the entire feature
  * font encoding cleanup (xinefonts use unicode now)
  * freetype2 support for OSD
  * ffmpeg sync (build 4663). WMV8 decoder enabled.
  * much more accurate time display with DVDs
  * xine health check fixes for non-mtrr machines
  * fixes for high-bandwidth RV30 streams
  * fix for vplayer format subtitles
  * fix for distorted display of some DVD menus
  * DVD title/part MRLs (dvd:/<title>.<part>) work much more reliable
  * OGM subtitles support
  * network controler improvements
  * generic error reporting mechanism using events
  * DVD: report the current menu type
  * DVD: menu calls ("Escape" in xine-ui) can now jump back from the
    menu into the movie as well
2003-04-11 09:19:53 +00:00

14 lines
519 B
Text

$NetBSD: patch-ai,v 1.2 2003/04/11 09:19:54 rh Exp $
--- src/xine-engine/audio_out.c.orig 2003-04-06 10:23:10.000000000 +1000
+++ src/xine-engine/audio_out.c
@@ -1671,7 +1671,9 @@ xine_audio_port_t *ao_new_port (xine_t *
this->audio_loop_running = 1;
pthread_attr_init(&pth_attrs);
+#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM);
+#endif
if ((err = pthread_create (&this->audio_thread,
&pth_attrs, ao_loop, this)) != 0) {