pkgsrc/multimedia/xine-lib/patches/patch-ai
abs 2794ccb3f2 Update xine-lib to 1.1.3
* Security fixes:
    - Heap overflow in libmms (related to CVE-2006-2200)
    - Buffer overrun in Real Media input plugin. [bug #1603458]
      Thanks to Roland Kay for reporting and JW for the patch.
  * Update build system to support x86 Darwin setups, and merge patches to
    support Darwin OS better.
  * Replace custom ALSA check with pkg-config check, and make sure 0.9.0 is
    the requried version.
  * When the compiler supports it, enable hidden visibility for all the
    plugins to export only the plugin info entry (and eventual needed
    special functions), to replace the min-symtab option that wasn't working.
  * Add "m4b" to the list of supported file extensions for the Qt demuxer, to
    allow playing (unprotected) audiobooks in AAC format.
  * Remove --disable-fpic hack, prefer using --without-pic instead.
  * Add new output plugin: PulseAudio (based on PolypAudio plugin), that uses
    0.9 API (PulseAudio is PolypAudio renamed).
  * Remove PolypAudio plugin, latest version supported 0.7 API that is no more
    supported by upstream, and it's replaced by PulseAudio.
  * Allow 0 for DVD title/chapter (navigation or full title).
  * New experimental JACK audio driver.
  * Fix switch from alsa/dmix 2.0 to 5.1 [bug #1226595]
  * Don't use proxy for localhost connection. [bug #1553633]
  * Use mmap() to open local files if available.
  * Use pkg-config to look for external FFmpeg.
  * Allow FFmpeg to play MP3s in case MAD is not present.
  * Reduce the dead time when trying to connect to dead hosts, by falling back
    to non-blocking sockets on the last address found for an host, and allowing
    users to provide a connection timeout. [bug #1550844]
  * Return the correct error message to frontends when a file is inaccessible or
    the network connection is broken. [bug #1550763]
  * Support libcaca 0.99, thanks to cjacker huang.
  * Fix crash on video-only WMV streams. [bug #1564598]
  * Report audio stream on Shorten files (required for Amarok to play them).
  * Optionally use fontconfig to look up fonts to use for OSD. [bug #1551042]
  * Prefer FreeType2 rendered fonts to bitmap fonts.
  * Stone age platforms update
  * Enabled TrueSpeech codec
  * New X11 visual type: xine-lib may now use frontend's mutex/lock mechanism
    instead of XLockDisplay/XUnlockDisplay.
  * Allow playing of OggFlac files. [bug #1590690]
  * Allow playing FLAC files with an ID3 tag at the start.
  * Fix some crashes caused by MP3 files (and possibly others) being
    misdetected as AAC.
2006-12-08 09:24:26 +00:00

14 lines
506 B
Text

$NetBSD: patch-ai,v 1.3 2006/12/08 09:24:26 abs Exp $
--- src/xine-engine/audio_out.c.orig 2006-11-04 23:30:14.000000000 +0000
+++ src/xine-engine/audio_out.c
@@ -2180,7 +2180,9 @@ xine_audio_port_t *_x_ao_new_port (xine_
this->audio_loop_running = 1;
pthread_attr_init(&pth_attrs);
+#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM);
+#endif
this->audio_thread_created = 1;
if ((err = pthread_create (&this->audio_thread,