xine-lib update to 1.1.18

OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=27
This commit is contained in:
Manfred Tremmel 2010-02-24 22:05:20 +00:00 committed by Git OBS Bridge
parent 73d0868d59
commit 1f83204385
19 changed files with 166 additions and 155 deletions

28
compat.c Normal file
View File

@ -0,0 +1,28 @@
/*
* Copyright (C) 2010 the xine project
*
* This file is part of xine, a free video player.
*
* xine is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* xine is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
*/
/* For compatibility with em8300 < 0.18.0 */
int dxr3_compat_ioctl (int fd, int rq, void *arg)
{
int ret = ioctl (fd, rq, arg);
if (ret < 0 && errno == EINVAL || errno == ENOTTY)
ret = ioctl (fd, rq & 0xFF, arg);
return ret;
}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffd45aca1ab74ad3743d704b048203832464247e26276445eaa9b26f3235e287
size 24533
oid sha256:4f5782201f9335d4578878d137f9acc6e350852627487633c8b5d8d02fe87e20
size 24876

View File

@ -1,11 +1,6 @@
The vdr plugin is patched to use /var/lib/vdr-xine for fifos and so
needs the part here. Don't remove this patch.
Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
Index: xine-lib-1.1.9/src/vdr/input_vdr.c
===================================================================
--- xine-lib-1.1.9.orig/src/vdr/input_vdr.c
+++ xine-lib-1.1.9/src/vdr/input_vdr.c
diff -ur xine-lib-1.1.18.orig/src/vdr/input_vdr.c xine-lib-1.1.18/src/vdr/input_vdr.c
--- xine-lib-1.1.18.orig/src/vdr/input_vdr.c 2010-02-24 21:01:43.658883179 +0100
+++ xine-lib-1.1.18/src/vdr/input_vdr.c 2010-02-24 21:02:59.800133025 +0100
@@ -51,7 +51,7 @@

View File

@ -1,6 +1,7 @@
--- xine-lib-1.1.12/configure.ac
+++ xine-lib-1.1.12/configure.ac
@@ -118,6 +118,7 @@ dnl Check for programs.
diff -ur xine-lib-1.1.18.orig/configure.ac xine-lib-1.1.18/configure.ac
--- xine-lib-1.1.18.orig/configure.ac 2010-02-24 21:37:21.487134132 +0100
+++ xine-lib-1.1.18/configure.ac 2010-02-24 21:40:15.697916133 +0100
@@ -119,6 +119,7 @@
dnl ---------------------------------------------
AC_PROG_CC
@ -8,3 +9,5 @@
AM_PROG_AS
case "$host_os" in
Nur in xine-lib-1.1.18/src/xine-engine: install_plugins_helper.c.
Nur in xine-lib-1.1.18/src/xine-engine: install_plugins_helper.h.

View File

@ -1,10 +0,0 @@
--- xine-lib-1.1.16.3.orig/src/audio_out/audio_alsa_out.c 2008-06-25 15:04:09.000000000 +0200
+++ xine-lib-1.1.16.3/src/audio_out/audio_alsa_out.c 2009-11-14 10:52:16.423781020 +0100
@@ -41,6 +41,7 @@
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
+#include <assert.h>
#define ALSA_PCM_NEW_HW_PARAMS_API
#define ALSA_PCM_NEW_SW_PARAMS_API

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d593dd04e953e5417f72575ed735af603f9dbf8d3a368b8eb40cd0ff2105b50
size 5110047

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14e17e1665c0aa90f958204570060a3aebded2b93078c5fae14ca8a92c0e79cf
size 7528937

View File

@ -0,0 +1,13 @@
diff -ur xine-lib-1.1.18.orig/src/audio_out/audio_alsa_out.c xine-lib-1.1.18/src/audio_out/audio_alsa_out.c
--- xine-lib-1.1.18.orig/src/audio_out/audio_alsa_out.c 2010-01-14 23:17:54.000000000 +0100
+++ xine-lib-1.1.18/src/audio_out/audio_alsa_out.c 2010-02-24 21:38:21.022134045 +0100
@@ -41,6 +41,7 @@
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
+#include <assert.h>
#define ALSA_PCM_NEW_HW_PARAMS_API
#define ALSA_PCM_NEW_SW_PARAMS_API
Nur in xine-lib-1.1.18/src/xine-engine: install_plugins_helper.c.
Nur in xine-lib-1.1.18/src/xine-engine: install_plugins_helper.h.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e0297228af8dd134dab60f45817b2ec581eb7786d41f760ab561751ac9bf41f
size 5116221

View File

@ -1,16 +1,7 @@
From 8861e0d755127fde4b57d32561491853e49a0edc Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <lnussel@suse.de>
Date: Fri, 25 Jul 2008 15:07:23 +0200
Subject: [PATCH] xine-lib-demuxcheckfor_mad_ffmpeg-LOCAL.diff
===================================================================
---
src/xine-engine/load_plugins.c | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
--- xine-lib-1.1.16.3.orig/src/xine-engine/load_plugins.c 2009-02-10 18:21:07.000000000 +0100
+++ xine-lib-1.1.16.3/src/xine-engine/load_plugins.c 2009-11-14 11:00:26.719796977 +0100
@@ -2487,9 +2487,18 @@
diff -ur xine-lib-1.1.18.orig/src/xine-engine/load_plugins.c xine-lib-1.1.18/src/xine-engine/load_plugins.c
--- xine-lib-1.1.18.orig/src/xine-engine/load_plugins.c 2010-01-14 23:17:56.000000000 +0100
+++ xine-lib-1.1.18/src/xine-engine/load_plugins.c 2010-02-24 21:54:02.396132130 +0100
@@ -2508,9 +2508,18 @@
plugin_catalog_t *catalog = self->plugin_catalog;
int list_id;
@ -29,7 +20,7 @@ Subject: [PATCH] xine-lib-demuxcheckfor_mad_ffmpeg-LOCAL.diff
/* calc length of output string and create an array of strings to
concatenate */
size_t len = 0;
@@ -2501,7 +2510,13 @@
@@ -2522,7 +2531,13 @@
if (node->plugin_class || _load_plugin_class(self, node, NULL)) {
demux_class_t *const cls = (demux_class_t *)node->plugin_class;
if( (extensions[list_id] = cls->get_extensions(cls)) != NULL )

View File

@ -1,8 +1,7 @@
Index: xine-lib-1.1.17/src/xine-engine/audio_out.c
===================================================================
--- xine-lib-1.1.17.orig/src/xine-engine/audio_out.c
+++ xine-lib-1.1.17/src/xine-engine/audio_out.c
@@ -1156,8 +1156,17 @@ static void *ao_loop (void *this_gen) {
diff -ur xine-lib-1.1.18.orig/src/xine-engine/audio_out.c xine-lib-1.1.18/src/xine-engine/audio_out.c
--- xine-lib-1.1.18.orig/src/xine-engine/audio_out.c 2010-02-23 22:59:05.000000000 +0100
+++ xine-lib-1.1.18/src/xine-engine/audio_out.c 2010-02-24 20:52:10.870884193 +0100
@@ -1156,8 +1156,17 @@
/*
* calculate gap:

View File

@ -1,17 +1,7 @@
From c781f4b2e726fa3fabf8cc0cdd592f617ae799e2 Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <ludwig.nussel@suse.de>
Date: Fri, 25 Jul 2008 16:58:56 +0200
Subject: [PATCH] ia64 is not alpha
---
configure.ac | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Index: xine-lib-1.1.16.3/configure.ac
===================================================================
--- xine-lib-1.1.16.3.orig/configure.ac 2009-04-02 20:44:45.000000000 +0200
+++ xine-lib-1.1.16.3/configure.ac 2009-11-14 10:45:11.618782275 +0100
@@ -2328,10 +2328,13 @@
diff -ur xine-lib-1.1.18.orig/configure.ac xine-lib-1.1.18/configure.ac
--- xine-lib-1.1.18.orig/configure.ac 2010-02-22 21:03:51.000000000 +0100
+++ xine-lib-1.1.18/configure.ac 2010-02-24 20:47:41.959133782 +0100
@@ -2381,10 +2381,13 @@
mips-*)
AC_DEFINE_UNQUOTED(FPM_MIPS,,[Define to select libmad fixed point arithmetic implementation])
;;

View File

@ -1,8 +1,7 @@
Index: xine-lib-1.1.17/configure.ac
===================================================================
--- xine-lib-1.1.17.orig/configure.ac
+++ xine-lib-1.1.17/configure.ac
@@ -2613,6 +2613,28 @@ fi
diff -uNr xine-lib-1.1.18.orig/configure.ac xine-lib-1.1.18/configure.ac
--- xine-lib-1.1.18.orig/configure.ac 2010-02-24 22:24:29.445882777 +0100
+++ xine-lib-1.1.18/configure.ac 2010-02-24 22:26:25.554146234 +0100
@@ -2631,6 +2631,28 @@
AM_CONDITIONAL(HAVE_W32DLL, test "x$enable_w32dll" != "xno")
@ -31,10 +30,9 @@ Index: xine-lib-1.1.17/configure.ac
dnl ---------------------------------------------
dnl some include paths ( !!! DO NOT REMOVE !!! )
Index: xine-lib-1.1.17/src/xine-engine/audio_decoder.c
===================================================================
--- xine-lib-1.1.17.orig/src/xine-engine/audio_decoder.c
+++ xine-lib-1.1.17/src/xine-engine/audio_decoder.c
diff -uNr xine-lib-1.1.18.orig/src/xine-engine/audio_decoder.c xine-lib-1.1.18/src/xine-engine/audio_decoder.c
--- xine-lib-1.1.18.orig/src/xine-engine/audio_decoder.c 2010-01-14 23:17:55.000000000 +0100
+++ xine-lib-1.1.18/src/xine-engine/audio_decoder.c 2010-02-24 22:26:25.555133914 +0100
@@ -41,6 +41,7 @@
#include "xine_internal.h"
@ -43,7 +41,7 @@ Index: xine-lib-1.1.17/src/xine-engine/audio_decoder.c
static void *audio_decoder_loop (void *stream_gen) {
@@ -341,6 +342,10 @@ static void *audio_decoder_loop (void *s
@@ -341,6 +342,10 @@
_x_stream_info_set(stream, XINE_STREAM_INFO_AUDIO_HANDLED,
(stream->audio_decoder_plugin != NULL));
@ -54,10 +52,9 @@ Index: xine-lib-1.1.17/src/xine-engine/audio_decoder.c
}
if (audio_type != stream->audio_type) {
Index: xine-lib-1.1.17/src/xine-engine/install_plugins_helper.c
===================================================================
--- /dev/null
+++ xine-lib-1.1.17/src/xine-engine/install_plugins_helper.c
diff -uNr xine-lib-1.1.18.orig/src/xine-engine/install_plugins_helper.c xine-lib-1.1.18/src/xine-engine/install_plugins_helper.c
--- xine-lib-1.1.18.orig/src/xine-engine/install_plugins_helper.c 1970-01-01 01:00:00.000000000 +0100
+++ xine-lib-1.1.18/src/xine-engine/install_plugins_helper.c 2010-02-24 22:26:25.556133119 +0100
@@ -0,0 +1,106 @@
+/*
+ * Copyright (C) 2007 Sascha Sommer
@ -165,10 +162,9 @@ Index: xine-lib-1.1.17/src/xine-engine/install_plugins_helper.c
+ }
+}
+
Index: xine-lib-1.1.17/src/xine-engine/install_plugins_helper.h
===================================================================
--- /dev/null
+++ xine-lib-1.1.17/src/xine-engine/install_plugins_helper.h
diff -uNr xine-lib-1.1.18.orig/src/xine-engine/install_plugins_helper.h xine-lib-1.1.18/src/xine-engine/install_plugins_helper.h
--- xine-lib-1.1.18.orig/src/xine-engine/install_plugins_helper.h 1970-01-01 01:00:00.000000000 +0100
+++ xine-lib-1.1.18/src/xine-engine/install_plugins_helper.h 2010-02-24 22:26:25.556133119 +0100
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2007 Sascha Sommer
@ -205,11 +201,10 @@ Index: xine-lib-1.1.17/src/xine-engine/install_plugins_helper.h
+
+
+#endif
Index: xine-lib-1.1.17/src/xine-engine/Makefile.am
===================================================================
--- xine-lib-1.1.17.orig/src/xine-engine/Makefile.am
+++ xine-lib-1.1.17/src/xine-engine/Makefile.am
@@ -19,7 +19,7 @@ libxine_la_SOURCES = xine.c metronom.c c
diff -uNr xine-lib-1.1.18.orig/src/xine-engine/Makefile.am xine-lib-1.1.18/src/xine-engine/Makefile.am
--- xine-lib-1.1.18.orig/src/xine-engine/Makefile.am 2010-01-21 00:45:27.000000000 +0100
+++ xine-lib-1.1.18/src/xine-engine/Makefile.am 2010-02-24 22:26:25.556133119 +0100
@@ -19,7 +19,7 @@
video_overlay.c osd.c scratch.c demux.c vo_scale.c \
xine_interface.c post.c tvmode.c broadcaster.c io_helper.c \
input_rip.c input_cache.c info_helper.c refcounter.c \
@ -218,7 +213,7 @@ Index: xine-lib-1.1.17/src/xine-engine/Makefile.am
# FIXME: these are currently unused:
EXTRA_DIST = lrb.c lrb.h accel_xvmc.h
@@ -39,7 +39,8 @@ xineinclude_HEADERS = buffer.h metronom
@@ -39,7 +39,8 @@
audio_out.h resample.h video_out.h xine_internal.h spu_decoder.h \
video_overlay.h osd.h scratch.h xine_plugin.h xineintl.h \
plugin_catalog.h audio_decoder.h video_decoder.h post.h \
@ -228,10 +223,9 @@ Index: xine-lib-1.1.17/src/xine-engine/Makefile.am
noinst_HEADERS = bswap.h ffmpeg_bswap.h
Index: xine-lib-1.1.17/src/xine-engine/video_decoder.c
===================================================================
--- xine-lib-1.1.17.orig/src/xine-engine/video_decoder.c
+++ xine-lib-1.1.17/src/xine-engine/video_decoder.c
diff -uNr xine-lib-1.1.18.orig/src/xine-engine/video_decoder.c xine-lib-1.1.18/src/xine-engine/video_decoder.c
--- xine-lib-1.1.18.orig/src/xine-engine/video_decoder.c 2010-02-23 23:27:15.000000000 +0100
+++ xine-lib-1.1.18/src/xine-engine/video_decoder.c 2010-02-24 22:26:25.557133929 +0100
@@ -37,6 +37,7 @@
#include "xine_internal.h"
@ -240,7 +234,7 @@ Index: xine-lib-1.1.17/src/xine-engine/video_decoder.c
#include <sched.h>
#define SPU_SLEEP_INTERVAL (90000/2)
@@ -376,6 +377,10 @@ static void *video_decoder_loop (void *s
@@ -376,6 +377,10 @@
stream->video_decoder_plugin = _x_get_video_decoder (stream, streamtype);
_x_stream_info_set(stream, XINE_STREAM_INFO_VIDEO_HANDLED, (stream->video_decoder_plugin != NULL));
@ -251,11 +245,10 @@ Index: xine-lib-1.1.17/src/xine-engine/video_decoder.c
}
if (stream->video_decoder_plugin)
Index: xine-lib-1.1.17/src/xine-engine/xine.c
===================================================================
--- xine-lib-1.1.17.orig/src/xine-engine/xine.c
+++ xine-lib-1.1.17/src/xine-engine/xine.c
@@ -1809,6 +1809,15 @@ void xine_init (xine_t *this) {
diff -uNr xine-lib-1.1.18.orig/src/xine-engine/xine.c xine-lib-1.1.18/src/xine-engine/xine.c
--- xine-lib-1.1.18.orig/src/xine-engine/xine.c 2010-02-24 22:24:02.482882309 +0100
+++ xine-lib-1.1.18/src/xine-engine/xine.c 2010-02-24 22:26:25.559133664 +0100
@@ -1810,6 +1810,15 @@
0, NULL, this);
/*

View File

@ -1,8 +1,7 @@
Index: xine-lib-1.1.17/configure
===================================================================
--- xine-lib-1.1.17.orig/configure
+++ xine-lib-1.1.17/configure
@@ -48965,6 +48965,7 @@ echo ""
diff -uNr xine-lib-1.1.18.orig/configure xine-lib-1.1.18/configure
--- xine-lib-1.1.18.orig/configure 2010-02-23 23:50:53.000000000 +0100
+++ xine-lib-1.1.18/configure 2010-02-24 21:28:13.318884098 +0100
@@ -33611,6 +33611,7 @@
echo " * video decoder plugins:"
echo " - MPEG 1,2 - Amiga Bitplane"
echo " - Raw RGB - Raw YUV"
@ -10,11 +9,10 @@ Index: xine-lib-1.1.17/configure
if test "x$with_external_ffmpeg" = "xyes"; then
echo " - ffmpeg (external library):"
else
Index: xine-lib-1.1.17/configure.ac
===================================================================
--- xine-lib-1.1.17.orig/configure.ac
+++ xine-lib-1.1.17/configure.ac
@@ -1086,6 +1086,28 @@ AC_SUBST([SDL_CFLAGS])
diff -uNr xine-lib-1.1.18.orig/configure.ac xine-lib-1.1.18/configure.ac
--- xine-lib-1.1.18.orig/configure.ac 2010-02-24 21:24:46.643882529 +0100
+++ xine-lib-1.1.18/configure.ac 2010-02-24 21:28:13.320882133 +0100
@@ -1104,6 +1104,28 @@
AC_SUBST([SDL_LIBS])
dnl ---------------------------------------------
@ -43,15 +41,15 @@ Index: xine-lib-1.1.17/configure.ac
dnl check for Libstk
dnl ---------------------------------------------
@@ -2799,6 +2821,7 @@ src/libxineadec/Makefile
@@ -2817,6 +2839,7 @@
src/libxineadec/gsm610/Makefile
src/libxineadec/nosefart/Makefile
src/libreal/Makefile
+src/mjpeg/Makefile
src/post/Makefile
src/post/planar/Makefile
src/post/goom/Makefile
@@ -2989,6 +3012,9 @@ echo ""
@@ -3007,6 +3030,9 @@
dnl audio decoders
echo " * audio decoder plugins:"
echo " - GSM 06.10 - linear PCM"
@ -61,34 +59,31 @@ Index: xine-lib-1.1.17/configure.ac
if test "x$with_external_ffmpeg" = "xyes"; then
echo " - ffmpeg (external library):"
else
Index: xine-lib-1.1.17/src/Makefile.am
===================================================================
--- xine-lib-1.1.17.orig/src/Makefile.am
+++ xine-lib-1.1.17/src/Makefile.am
@@ -27,6 +27,7 @@ SUBDIRS = \
diff -uNr xine-lib-1.1.18.orig/src/Makefile.am xine-lib-1.1.18/src/Makefile.am
--- xine-lib-1.1.18.orig/src/Makefile.am 2010-02-24 21:24:46.643882529 +0100
+++ xine-lib-1.1.18/src/Makefile.am 2010-02-24 21:28:13.321884189 +0100
@@ -27,6 +27,7 @@
libreal \
\
libfaad \
libmusepack \
+ mjpeg \
post \
combined \
vdr
Index: xine-lib-1.1.17/src/Makefile.in
===================================================================
--- xine-lib-1.1.17.orig/src/Makefile.in
+++ xine-lib-1.1.17/src/Makefile.in
@@ -450,6 +450,7 @@ SUBDIRS = \
diff -uNr xine-lib-1.1.18.orig/src/Makefile.in xine-lib-1.1.18/src/Makefile.in
--- xine-lib-1.1.18.orig/src/Makefile.in 2010-02-23 23:50:35.000000000 +0100
+++ xine-lib-1.1.18/src/Makefile.in 2010-02-24 21:28:13.321884189 +0100
@@ -453,6 +453,7 @@
libreal \
\
libfaad \
libmusepack \
+ mjpeg \
post \
combined
Index: xine-lib-1.1.17/src/mjpeg/Makefile.am
===================================================================
--- /dev/null
+++ xine-lib-1.1.17/src/mjpeg/Makefile.am
diff -uNr xine-lib-1.1.18.orig/src/mjpeg/Makefile.am xine-lib-1.1.18/src/mjpeg/Makefile.am
--- xine-lib-1.1.18.orig/src/mjpeg/Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ xine-lib-1.1.18/src/mjpeg/Makefile.am 2010-02-24 21:28:13.323883132 +0100
@@ -0,0 +1,9 @@
+include $(top_srcdir)/misc/Makefile.common
+
@ -99,10 +94,9 @@ Index: xine-lib-1.1.17/src/mjpeg/Makefile.am
+xineplug_decode_mjpeg_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_mjpeg_la_LDFLAGS = $(xineplug_ldflags)
+endif
Index: xine-lib-1.1.17/src/mjpeg/Makefile.in
===================================================================
--- /dev/null
+++ xine-lib-1.1.17/src/mjpeg/Makefile.in
diff -uNr xine-lib-1.1.18.orig/src/mjpeg/Makefile.in xine-lib-1.1.18/src/mjpeg/Makefile.in
--- xine-lib-1.1.18.orig/src/mjpeg/Makefile.in 1970-01-01 01:00:00.000000000 +0100
+++ xine-lib-1.1.18/src/mjpeg/Makefile.in 2010-02-24 21:28:13.324882254 +0100
@@ -0,0 +1,751 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# @configure_input@
@ -855,10 +849,9 @@ Index: xine-lib-1.1.17/src/mjpeg/Makefile.in
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: xine-lib-1.1.17/src/mjpeg/xine_mjpeg_decoder.c
===================================================================
--- /dev/null
+++ xine-lib-1.1.17/src/mjpeg/xine_mjpeg_decoder.c
diff -uNr xine-lib-1.1.18.orig/src/mjpeg/xine_mjpeg_decoder.c xine-lib-1.1.18/src/mjpeg/xine_mjpeg_decoder.c
--- xine-lib-1.1.18.orig/src/mjpeg/xine_mjpeg_decoder.c 1970-01-01 01:00:00.000000000 +0100
+++ xine-lib-1.1.18/src/mjpeg/xine_mjpeg_decoder.c 2010-02-24 21:28:13.325884030 +0100
@@ -0,0 +1,397 @@
+/*
+ * Copyright (C) 2007 Marcus Meissner

3
xine-lib-1.1.18.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ba164c7a192b265a7c72bd623bd69b261bcf7716ecca90a08d67025dd16bfb7
size 7533013

View File

@ -1,14 +1,7 @@
# HG changeset patch
# User Tobias Rautenkranz <mail@tobias.rautenkranz.ch>
# Date 1202208482 -3600
# Node ID 100241ff36f0730a15018a58456fb86eb590bf18
# Parent 07c29261ed98fdb710a241c6711dac0215b6074a
Fix playback of DVDs with a broken UDF file system (aka DVD-Movie-Protect).
diff -r 07c29261ed98 -r 100241ff36f0 src/input/libdvdnav/dvd_udf.c
--- a/src/input/libdvdnav/dvd_udf.c Thu Jan 31 22:02:04 2008 +0000
+++ b/src/input/libdvdnav/dvd_udf.c Tue Feb 05 11:48:02 2008 +0100
@@ -38,9 +38,15 @@
diff -ur xine-lib-1.1.18.orig/src/input/libdvdnav/dvd_udf.c xine-lib-1.1.18/src/input/libdvdnav/dvd_udf.c
--- xine-lib-1.1.18.orig/src/input/libdvdnav/dvd_udf.c 2009-11-30 21:57:20.000000000 +0100
+++ xine-lib-1.1.18/src/input/libdvdnav/dvd_udf.c 2010-02-24 21:12:36.032882913 +0100
@@ -38,10 +38,16 @@
#include <sys/stat.h>
#include <unistd.h>
#include <inttypes.h>
@ -18,13 +11,14 @@ diff -r 07c29261ed98 -r 100241ff36f0 src/input/libdvdnav/dvd_udf.c
#include "dvd_reader.h"
#include "dvd_udf.h"
+
+#include "ifo_types.h"
+#include "ifo_read.h"
+
/* Private but located in/shared with dvd_reader.c */
extern int UDFReadBlocksRaw( dvd_reader_t *device, uint32_t lb_number,
@@ -774,7 +780,9 @@ static int UDFFindPartition( dvd_reader_
size_t block_count, unsigned char *data,
@@ -774,7 +780,9 @@
return part->valid;
}
@ -35,7 +29,7 @@ diff -r 07c29261ed98 -r 100241ff36f0 src/input/libdvdnav/dvd_udf.c
uint32_t *filesize )
{
uint8_t LogBlock_base[ DVD_VIDEO_LB_LEN + 2048 ];
@@ -856,6 +864,84 @@ uint32_t UDFFindFile( dvd_reader_t *devi
@@ -856,6 +864,84 @@
return partition.Start + File.Location;
}

View File

@ -2,7 +2,7 @@ Index: src/libw32dll/wine/ldt_keeper.c
===================================================================
--- src/libw32dll/wine/ldt_keeper.c.orig
+++ src/libw32dll/wine/ldt_keeper.c
@@ -77,6 +77,10 @@ int modify_ldt(int func, void *ptr, unsi
@@ -77,6 +77,10 @@
#ifdef __cplusplus
}
#endif

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Feb 24 20:20:00 CEST 2009 - Manfred.Tremmel@iiv.de
- update to 1.1.18
* Bump the FLAC decoder's priority above ffmpegaudio. This should fix
various problems with FLAC playback.
* Build fix (undefined symbol) for when using older ffmpeg.
* TTA demuxer fixes; allow seeking.
* More meta-information tags.
Only the Ogg demuxer knows about these at present.
* Added basic support for .qtl (Quicktime media link).
* "Fixed" playback of 24-bit FLAC.
* Fixed playback of 24-bit LPCM.
* Work around an ffmpeg bug concerning Sorenson Video 3.
* Flash audio bug fixes, mostly concerning AAC.
* Fix DXR3 support for newer versions of the em8300 driver.
* Added support for WMA Pro.
-------------------------------------------------------------------
Wed Feb 03 21:03:00 CEST 2010 - Manfred.Tremmel@iiv.de

View File

@ -1,5 +1,5 @@
#
# spec file for package xine-lib (Version 1.1.17)
# spec file for package xine-lib (Version 1.1.18)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -53,7 +53,7 @@ BuildRequires: glib2-devel gnutls-devel gtk2-devel imlib2-devel krb5-devel
BuildRequires: libcdio-devel libdrm-devel libmng-devel libsmbclient
BuildRequires: Mesa-devel libsmbclient-devel libtheora-devel libvorbis-devel
BuildRequires: readline-devel update-desktop-files vcdimager-devel
BuildRequires: speex-devel
BuildRequires: speex-devel libv4l-devel
%if %suse_version >= 1030
BuildRequires: lirc-devel
%else
@ -97,13 +97,13 @@ BuildRequires: DirectFB
%if %{with modplug}
BuildRequires: libmodplug-devel
%endif
Version: 1.1.17
Version: 1.1.18
Release: 1
# bug437293
%ifarch ppc64
Obsoletes: xine-lib-64bit
%endif
%define abiversion 1.27
%define abiversion 1.28
Summary: Video Player with Plug-Ins
Group: Productivity/Multimedia/Video/Players
License: GPLv2+ ; Public Domain, Freeware
@ -114,8 +114,10 @@ Source: xine-lib-%{version}-crippled.tar.bz2
%else
Source: xine-lib-%{version}.tar.bz2
%endif
Source2: baselibs.conf
Source2: baselibs.conf
Source10: README.SuSE
# missing file in 1.1.18 tarball
Source80: compat.c
Source99: precheckin_cripple_tarball.sh
# *** xine-lib: Bugfixes
Patch26: xine-lib-doc-fix-X11R6.diff
@ -155,6 +157,7 @@ Group: Productivity/Multimedia/Video/Players
License: GPLv2+
Provides: xine-lib = %{version}-%{release}
Obsoletes: xine-lib < %{version}-%{release}
Provides: xine-extra = %{version}-%{release}
Obsoletes: xine-extra < %{version}-%{release}
Provides: libxine1-syncfb = %{version}-%{release}
Obsoletes: libxine1-syncfb < %{version}-%{release}
@ -615,6 +618,7 @@ sed -i 's|^noinst_HEADERS = input_vdr.h|xineinclude_HEADERS = input_vdr.h|' src/
%else
# Only apply to uncrippled source
%patch80
cp %{SOURCE80} src/dxr3/
%endif
%patch72 -p1
%patch73 -p1
@ -707,6 +711,7 @@ xineplug_vo_out_raw
xineplug_inp_dvb
xineplug_inp_dvd
xineplug_inp_v4l
xineplug_inp_v4l2
xineplug_inp_file
xineplug_inp_http
xineplug_inp_net