Author: rdieter
Update of /cvs/free/rpms/xine-lib-extras-freeworld/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv21000
Modified Files:
.cvsignore sources xine-lib-extras-freeworld.spec
Added Files:
xine-lib-1.1.16-ffmpeg_api.patch
Removed Files:
xine-lib-1.1.15-ffmpeg-api.patch
Log Message:
* Wed Jan 07 2009 Rex Dieter <rdieter(a)fedoraproject.org> - 1.1.16-1
- xine-lib-1.1.16
xine-lib-1.1.16-ffmpeg_api.patch:
--- NEW FILE xine-lib-1.1.16-ffmpeg_api.patch ---
diff -up xine-lib-1.1.16/src/combined/ffmpeg/ff_audio_decoder.c.ffmpeg_api
xine-lib-1.1.16/src/combined/ffmpeg/ff_audio_decoder.c
--- xine-lib-1.1.16/src/combined/ffmpeg/ff_audio_decoder.c.ffmpeg_api 2009-01-07
10:14:32.000000000 -0600
+++ xine-lib-1.1.16/src/combined/ffmpeg/ff_audio_decoder.c 2009-01-07 12:04:34.000000000
-0600
@@ -271,7 +271,11 @@ static void ff_audio_decode_data (audio_
* bits/sample for some codecs (e.g. MS ADPCM) */
this->audio_bits = 16;
+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
this->context->bits_per_sample = this->audio_bits;
+#else
+ this->context->bits_per_coded_sample = this->audio_bits;
+#endif
this->context->sample_rate = this->audio_sample_rate;
this->context->channels = this->audio_channels;
this->context->codec_id = this->codec->id;
@@ -329,7 +333,11 @@ static void ff_audio_decode_data (audio_
&decode_buffer_size,
&this->buf[0],
this->size);
+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
this->audio_bits = this->context->bits_per_sample;
+#else
+ this->audio_bits = this->context->bits_per_coded_sample;
+#endif
this->audio_sample_rate = this->context->sample_rate;
this->audio_channels = this->context->channels;
if (!this->audio_bits || !this->audio_sample_rate || !this->audio_channels)
diff -up xine-lib-1.1.16/src/combined/ffmpeg/ff_video_decoder.c.ffmpeg_api
xine-lib-1.1.16/src/combined/ffmpeg/ff_video_decoder.c
--- xine-lib-1.1.16/src/combined/ffmpeg/ff_video_decoder.c.ffmpeg_api 2009-01-07
10:14:32.000000000 -0600
+++ xine-lib-1.1.16/src/combined/ffmpeg/ff_video_decoder.c 2009-01-07 11:58:03.000000000
-0600
@@ -946,7 +946,11 @@ static void ff_handle_header_buffer (ff_
this->context->extradata_size);
}
+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
this->context->bits_per_sample = this->bih.biBitCount;
+#else
+ this->context->bits_per_coded_sample = this->bih.biBitCount;
+#endif
} else {
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/xine-lib-extras-freeworld/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 22 Aug 2008 18:13:13 -0000 1.3
+++ .cvsignore 7 Jan 2009 20:21:15 -0000 1.4
@@ -1 +1 @@
-xine-lib-1.1.15.tar.bz2
+xine-lib-1.1.16.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/xine-lib-extras-freeworld/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 22 Aug 2008 18:13:13 -0000 1.3
+++ sources 7 Jan 2009 20:21:15 -0000 1.4
@@ -1 +1 @@
-42a2b4893b7f892eb334de2fc36d49c8 xine-lib-1.1.15.tar.bz2
+acd1a210c5a6444e8fd44696469352bb xine-lib-1.1.16.tar.bz2
Index: xine-lib-extras-freeworld.spec
===================================================================
RCS file: /cvs/free/rpms/xine-lib-extras-freeworld/devel/xine-lib-extras-freeworld.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- xine-lib-extras-freeworld.spec 21 Dec 2008 11:05:57 -0000 1.15
+++ xine-lib-extras-freeworld.spec 7 Jan 2009 20:21:15 -0000 1.16
@@ -1,7 +1,7 @@
# TODO:
# - external dvdnav - not compatible as of 1.1.11 and 4.1.1
-%define abiver 1.24
+%define abiver 1.25
%if 0%{?fedora} > 6
%define _with_external_ffmpeg --with-external-ffmpeg
@@ -9,8 +9,8 @@
Name: xine-lib-extras-freeworld
Summary: Extra codecs for the Xine multimedia library
-Version: 1.1.15
-Release: 5%{?dist}
+Version: 1.1.16
+Release: 1%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL:
http://xinehq.de/
@@ -19,7 +19,7 @@
Patch0: xine-lib-1.1.3-optflags.patch
Patch6: xine-lib-1.1.1-deepbind-939.patch
-Patch100: xine-lib-1.1.15-ffmpeg-api.patch
+Patch100: xine-lib-1.1.16-ffmpeg_api.patch
BuildRequires: pkgconfig
BuildRequires: zlib-devel
@@ -67,7 +67,7 @@
touch -r m4/optimizations.m4.stamp m4/optimizations.m4
# Patch1 needed at least when compiling with external ffmpeg, #939.
%patch6 -p1 -b .deepbind
-# ffmpeg api
+
%patch100 -p1 -b .ffmpeg_api
# Avoid standard rpaths on lib64 archs:
@@ -116,18 +116,19 @@
rm -rf %{buildroot}%{_libdir}/lib*
rm -rf %{buildroot}%{_libdir}/pkgconfig
+#xineplug_dmx_mpeg
+#xineplug_dmx_mpeg_block
+#xineplug_dmx_mpeg_ts
+#xineplug_dmx_mpeg_elem
+#xineplug_dmx_mpeg_pes
+#xineplug_dmx_yuv4mpeg2
+
# Plugins - credits go to the SuSE RPM maintainer, congrats
cat > plugins << EOF
#
# libmad and MPEG related plugins
xineplug_decode_mad
xineplug_decode_mpeg2
-xineplug_dmx_mpeg
-xineplug_dmx_mpeg_block
-xineplug_dmx_mpeg_ts
-xineplug_dmx_mpeg_elem
-xineplug_dmx_mpeg_pes
-xineplug_dmx_yuv4mpeg2
xineplug_inp_vcd
xineplug_inp_vcdo
#
@@ -184,6 +185,9 @@
%changelog
+* Wed Jan 07 2009 Rex Dieter <rdieter(a)fedoraproject.org> - 1.1.16-1
+- xine-lib-1.1.16
+
* Wed Dec 17 2008 Rex Dieter <rdieter(a)fedoraproject.org> - 1.1.15-5
- ffmpeg bits_per_sample patch
--- xine-lib-1.1.15-ffmpeg-api.patch DELETED ---