head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.22 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.20 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.18 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.16 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.14 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.12 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.10 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.8 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.6 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.4 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.2 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.5.0.4 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.2 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.4.0.6 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.4 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.2 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.3.0.8 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.6 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.4 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.2 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.2.0.6 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.1.0.2 pkgsrc-2004Q3-base:1.1; locks; strict; comment @# @; 1.6 date 2007.11.22.20.20.23; author drochner; state dead; branches; next 1.5; 1.5 date 2007.06.18.21.16.12; author joerg; state Exp; branches; next 1.4; 1.4 date 2006.08.06.10.36.50; author wiz; state dead; branches; next 1.3; 1.3 date 2005.07.29.16.09.11; author drochner; state Exp; branches; next 1.2; 1.2 date 2004.10.27.20.31.33; author drochner; state Exp; branches; next 1.1; 1.1 date 2004.08.10.11.24.46; author drochner; state Exp; branches; next ; desc @@ 1.6 log @update to 1.1.8 This has improved DVB subtitles support, implements simple subtitle scaling and bold & italics for text subtitles, and allows control of XxMC bob deinterlacing. It also has fixes for an audio resampling problem (which manifested as regular clicking), a problem which would cause the goom plugin to stop working, and URL escape handling (use of %) in DVD and Video CD MRLs. Some memory leaks are also fixed, and there are some build fixes for Solaris users. @ text @$NetBSD: patch-ba,v 1.5 2007/06/18 21:16:12 joerg Exp $ --- src/libreal/Makefile.in.orig 2007-06-18 19:43:07.000000000 +0000 +++ src/libreal/Makefile.in @@@@ -550,7 +550,7 @@@@ xinepostdir = $(XINE_PLUGINDIR)/post vidixdir = $(XINE_PLUGINDIR)/vidix @@ENABLE_REAL_TRUE@@xineplug_LTLIBRARIES = xineplug_decode_real.la xineplug_decode_real_la_SOURCES = xine_real_video_decoder.c real_common.c xine_real_audio_decoder.c -xineplug_decode_real_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS) +xineplug_decode_real_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS) $(LIBINTL) xineplug_decode_real_la_CFLAGS = $(VISIBILITY_FLAG) xineplug_decode_real_la_LDFLAGS = $(xineplug_ldflags) noinst_HEADERS = real_common.h @ 1.5 log @Fix linkage with -lintl. In one plugin, disable the -Wl,-z,defs usage as it breaks on DragonFly. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to 1.1.2, provided by Kimura Fuyuki in PR 34107. xine-lib (1.1.2) * Security fixes: - CVE-2005-4048: possible buffer overflow in libavcodec (crafted PNGs). - CVE-2006-2802: possible buffer overflow in the HTTP plugin. - possible buffer overflow via bad indexes in specially-crafted AVI files * Update gettext support to 0.14.5, disable internal gettext, fix locales handling, use the correct domain for strings. * Italian translation update * Czech translation update * Disable the XXMC plugin if Xv support isn't there * Also look for Xv support in /usr/lib for X.org's new location * Fix using xine-lib on systems with SELinux enabled * Build right with libiconv in /usr/local as default on FreeBSD * Fix a potential crash with fixed-size lacing in the Matroska demuxer * Patch from SuSE to fix alsa after hardware suspend * Fix the ./configure --enable-static-xv parameter * Really fix the speed changing race that was mentioned in 1.1.1 * Send events for tvtime filmmode changes * Add an image decoder based on gdk-pixbuf * Add browseable capability to smb input plugin * Enable AMD64 mmx/sse support in some plugins (tvtime, libmpeg2, goom...) * Fix xxmc subpictures (broken since 1.1.1) * FFmpeg update (version 51.1.0) * Fix detection of locale containing a modifier (like "@@euro") * New volume normalization post plugin * New image noise post plugin (useful for mitigating some compression artifacts) * Support for Vorbis-style comments in FLAC files * Coverity fixes * Add ATSC support to the DVB plugin * Make various structures and arrays constant. * Fix up health check to find libX11 and libXv shared objects even if devel packages aren't installed (where appropriate). (Ubuntu 47357) * Fix install problems in case configure was generated by autoconf >= 2.59c. * Fixed some win32 codec freezes when configured w32-path doesn't exist * Add support for RealPlayer 10 codecs (from SUSE) xine-lib (1.1.1) * Improve sound quality when using alsa 1.0.9 or above. When playing a 44.1khz stream on a 48khz only capable sound card. It bypasses alsa-lib resampler and uses xine's * Windows ports bug fixes and improvements * Set up the framebuffer palette (fb video out). * build fixes and improvements, added --with-pthread-prefix and --with-zlib-prefix options * new DirectFB video output plugin with many improvements (output to overlay or TV, deinterlacing, image controls, zoom, OSD, double/triple buffering, vsync, flicker filtering, field parity control) * overlay cropping fixes for small streams or when using cropping support * experimental frame allocation optimization reduces cpu usage of the deinterlacer plugin by up 25% * implement time seeking on DVD plugin * move CFLAGS optimizations to a separated file (added --disable-optimizations) * use the same codec path as MPlayer (/usr[/local]/lib/codecs) * FFmpeg sync (new QDM2 decoder) * imported Duck TrueMotion 2 decoder from FFmpeg * sync libfaad2 to latest GPL compatible version; fixes AAC decoding on x86_64 arch * support gapless playback while switching streams (requires UI cooperation) * fix speed changing race causing deadlock with v4l plugin * cddb improvements/fixes (DTITLE/DYEAR parsing, timeout increase and multiline entries support) [#1205274] xine-lib (1.1.0) * new quality deinterlacer from dscaler: GreedyH (Greedy High Motion) * new quality deinterlacer from dscaler: TomsMoComp (Tom's Motion Compensated) * added help for most deinterlace methods * ffmpeg update * use ImageMagick to convert and display different type of images (png, jpg...) * improve ASX playlist parsing * add an extended MRL reference event (MRL title, start time, play time): needed for the ASX parser; deprecates plain MRL reference events. * goom updated to 2k4-0 xine-lib (1.0.4) * tiny doc update * build fixes and cross build improvements * fixed an align problem in Win32 DirectX video output plugin * fixed linking of X11 plugins for some platforms @ text @d1 1 a1 1 $NetBSD: patch-ba,v 1.3 2005/07/29 16:09:11 drochner Exp $ d3 11 a13 11 --- src/input/vcd/xineplug_inp_vcd.c.orig 2005-07-17 23:50:00.000000000 +0200 +++ src/input/vcd/xineplug_inp_vcd.c @@@@ -999,7 +999,7 @@@@ vcd_class_get_description (input_class_t static const char * vcd_class_get_identifier (input_class_t *this_gen) { dbg_print((INPUT_DBG_CALL|INPUT_DBG_EXT), "called\n"); - return SHORT_PLUGIN_NAME; + return strdup(SHORT_PLUGIN_NAME); } /* HACK until we put modify and put in vcdplayer. */ @ 1.3 log @update to 1.0.2 changes: * fixed playback of single-session Real RTSP streams, such as rtsp://stream.samurai.fm/broadcast/live_hi.rm * fixed xxmc / xvmc mocomp / IDCT rendering errors caused by the big update. * support --enable-fpic with recent versions of gcc * clip goom fps value to >= 1 [bug #1193783] * fixed xvmc plugin segfault when it tried software blending on nonexistant xv image * cleaned up libmpeg2 behaviour on xxmc plugin abrupt software fallback * use -fno-inline-functions with gcc < 3.4.0 (bug known to be in 3.3.5) * fix xxmc plugin wanting to change vld xvmc context when stream changes from non-interlaced to interlaced [bug #1194350] * speed up xx44 alphablending of large transparent areas * stop libmpeg2 XvMC IDCT / MOCOMP attempting software motion compensation [bug #1194754] * improve xxmc cpu-usage for IDCT / MOCOMP acceleration through better locking [bug #1195282] * gcc4 build patches [bug #1175002] * don't assume that file is in /usr/bin (build fix) [bug #1195539] * plugin loader fixes - could cause xine to lock up hard on startup [bug #1196819] * Fix xxmc bob deinterlacing for field-coded interlaced streams * Fix LE_64/BE_64 macros on non-x86 plataforms. may fixes issues with some demuxers like avi, asf and ogg. * sputext improvements/workarounds * add a new error message when a file we tried to play is an empty (zero-sized) file * be more POSIX-compliant (head, tail) (build fix) * fixed deadlock when libxine was called from the event listener thread and tried to flush all pending events. * Added xine(5), documenting MRL syntax. * allow playing just a single title/chapter from dvd (useful for extracting audio - check media.dvd.play_single_chapter) * new stream infos allows frontends to query current title/chapter/angle on dvds * new upmix_mono audio post plugin to convert mono to stereo * added --with-external-a52dec and --with-external-libmad switches * fix a locking bug which affects configuration callback functions @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @update to xine-lib-1-rc6a New Features: - Added support for Annodex bitsream format. The Annodex bitstream format is a subset of the Ogg encapsulation format: it"s basically Ogg with extra timing information, so that time-based stream - Added support for VobSub-in-Matroska (Vobsub is raw subtitle stream from a DVD. This patch enables support for VobSub - Added support for 44100Hz DTS in .wav files - Added experimental time stretching plugin: play stream faster or slower than original speed, optionally preserving pitch - Added configure option for building xine with external ffmpeg library - Added api for finer playback speed control (requires frontend support) - Added support for QuickTime 6.3 DLLs - Added support for mp3 audio in mp4 files - Added support for using utf-8 for matroska subtitles @ text @d3 1 a3 1 --- src/input/vcd/xineplug_inp_vcd.c.orig 2004-07-27 04:08:48.000000000 +0200 d5 1 a5 1 @@@@ -923,7 +923,7 @@@@ vcd_class_get_description (input_class_t d13 1 a13 1 /* @ 1.1 log @fix stack overflow, see http://www.open-security.org/advisories/6 (patch from xine CVS) bump PKGREVISION @ text @d3 1 a3 1 --- src/input/vcd/xineplug_inp_vcd.c.orig 2004-06-13 23:28:56.000000000 +0200 d5 2 a6 37 @@@@ -48,6 +48,7 @@@@ #define SHORT_PLUGIN_NAME "VCD" #define MRL_PREFIX "vcd://" #define MRL_PREFIX_LEN strlen(MRL_PREFIX) +#define MRL_MAX_LEN 1024 #define xine_config_entry_t xine_cfg_entry_t @@@@ -474,7 +475,7 @@@@ vcd_parse_mrl(/*in*/ const char *default return false; } - count = sscanf (p, "%[^@@]@@%1[EePpSsTt]%u", + count = sscanf (p, "%1024[^@@]@@%1[EePpSsTt]%u", device_str, type_str, &num); itemid->num = num; @@@@ -498,7 +499,7 @@@@ vcd_parse_mrl(/*in*/ const char *default { /* No device/file given, so use the default device and try again. */ if (NULL == default_vcd_device) return false; - strcpy(device_str, default_vcd_device); + strncpy(device_str, default_vcd_device, MRL_MAX_LEN); if (p[0] == '@@') p++; count = sscanf (p, "%1[EePpSsTt]%u", type_str, &num); type_str[0] = toupper(type_str[0]); @@@@ -790,7 +791,7 @@@@ static xine_mrl_t ** vcd_class_get_dir (input_class_t *this_gen, const char *filename, int *num_files) { - char intended_vcd_device[1024]=""; + char intended_vcd_device[MRL_MAX_LEN+1]=""; vcdinfo_itemid_t itemid; vcd_input_class_t *class = (vcd_input_class_t *) this_gen; @@@@ -922,7 +923,7 @@@@ vcd_class_get_description (input_class_t static char * a13 9 @@@@ -1452,7 +1453,7 @@@@ vcd_class_get_instance (input_class_t *c { vcd_input_class_t *class = (vcd_input_class_t *) class_gen; - char intended_vcd_device[1024]=""; + char intended_vcd_device[MRL_MAX_LEN+1]=""; vcdinfo_itemid_t itemid; char *check_mrl=NULL; bool used_default; @