head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.52 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.50 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.48 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.46 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.44 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.42 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.40 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.38 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.36 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.34 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.32 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.30 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.28 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.26 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.24 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.22 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.20 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.18 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.16 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.14 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.12 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.10 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.8 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.6 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.4 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.2 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2004.01.26.13.06.14; author jmmv; state dead; branches; next 1.3; 1.3 date 2003.04.11.09.49.20; author rh; state Exp; branches; next 1.2; 1.2 date 2003.04.11.09.19.54; author rh; state Exp; branches; next 1.1; 1.1 date 2003.04.06.11.06.02; author rh; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.04.06.11.06.02; author rh; state Exp; branches; next ; desc @@ 1.4 log @xine-lib and xine-ui moved to the multimedia category. @ text @$NetBSD: patch-ab,v 1.3 2003/04/11 09:49:20 rh Exp $ --- src/xine-engine/audio_decoder.c.orig 2003-04-06 10:23:10.000000000 +1000 +++ src/xine-engine/audio_decoder.c @@@@ -353,7 +353,9 @@@@ void *audio_decoder_loop (void *stream_g void audio_decoder_init (xine_stream_t *stream) { pthread_attr_t pth_attrs; +#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING struct sched_param pth_params; +#endif int err; if (stream->audio_out == NULL) { @@@@ -379,10 +381,12 @@@@ void audio_decoder_init (xine_stream_t * */ 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->audio_thread, &pth_attrs, audio_decoder_loop, stream)) != 0) { @ 1.3 log @Fix typo: s/ifndef/ifdef/ to make this compile with pth on 1.6.x @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2003/04/11 09:19:54 rh Exp $ @ 1.2 log @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:/.<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 @ text @d1 1 a1 1 $NetBSD$ d9 1 a9 1 +#ifndef _POSIX_THREAD_PRIORITY_SCHEDULING @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- src/xine-engine/audio_decoder.c.orig 2003-03-08 08:28:32.000000000 +1000 d5 1 a5 1 @@@@ -335,7 +335,9 @@@@ void *audio_decoder_loop (void *stream_g d9 1 a9 1 +#ifndef _PTH_PTHREAD_H_ d15 1 a15 1 @@@@ -361,10 +363,14 @@@@ void audio_decoder_init (xine_stream_t * d19 1 a19 1 +#ifndef _PTH_PTHREAD_H_ a22 2 +#endif +#ifdef PTHREAD_SCOPE_SYSTEM @ 1.1.1.1 log @Initial import of xine-lib-1.0rc9, a multimedia player library. @ text @@