]> git.pld-linux.org Git - packages/mpd.git/commitdiff
Up to 0.17.3, added ffmpeg-float.patch (fix for ffmpeg 1.1) auto/th/mpd-0.17.3-1
authorArtur Frysiak <artur@frysiak.net>
Wed, 13 Feb 2013 20:45:30 +0000 (21:45 +0100)
committerArtur Frysiak <artur@frysiak.net>
Wed, 13 Feb 2013 20:45:30 +0000 (21:45 +0100)
ffmpeg-float.patch [new file with mode: 0644]
mpd.spec

diff --git a/ffmpeg-float.patch b/ffmpeg-float.patch
new file mode 100644 (file)
index 0000000..8ec0b9c
--- /dev/null
@@ -0,0 +1,24 @@
+From 1105e61f292fd61a6316a4b83439dbaa29c102fd Mon Sep 17 00:00:00 2001
+From: Brice Jaglin <bjaglin@free.fr>
+Date: Wed, 16 Jan 2013 17:02:58 +0000
+Subject: decoder/ffmpeg: support float planar audio
+
+---
+diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c
+index 72a5ff3..4c4cb2b 100644
+--- a/src/decoder/ffmpeg_decoder_plugin.c
++++ b/src/decoder/ffmpeg_decoder_plugin.c
+@@ -395,6 +395,11 @@ ffmpeg_sample_format(enum AVSampleFormat sample_fmt)
+ #endif
+               return SAMPLE_FORMAT_S32;
++#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51,17,0)
++      case AV_SAMPLE_FMT_FLTP:
++              return SAMPLE_FORMAT_FLOAT;
++#endif
++
+       default:
+               break;
+       }
+--
+cgit v0.9.0.3-66-g3205
index 270b0444de38e2fea9c988b5d8a5f5b6e142c533..ab0e240fc89a43f29467ec4b6704babf5f90573a 100644 (file)
--- a/mpd.spec
+++ b/mpd.spec
@@ -10,17 +10,18 @@ Summary:    Music Player Daemon
 Summary(hu.UTF-8):     Music Player Daemon
 Summary(pl.UTF-8):     Music Player Daemon - demon odtwarzajÄ…cy muzykÄ™
 Name:          mpd
-Version:       0.17.2
-Release:       4
+Version:       0.17.3
+Release:       1
 License:       GPL v2+
 Group:         Applications/Multimedia
 Source0:       http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2
-# Source0-md5: 52a5e9ccd37dc94231e80083dcb82d91
+# Source0-md5: cfc9dbf54f52569b998677fe1fa79c11
 Source1:       %{name}.conf
 Source2:       %{name}.init
 Source3:       %{name}.sysconfig
 Source4:       %{name}.tmpfiles
 Patch0:                %{name}-cdio.patch
+Patch1:                ffmpeg-float.patch
 URL:           http://www.musicpd.org/
 BuildRequires: OpenAL-devel
 BuildRequires: alsa-lib-devel >= 0.9.0
@@ -125,6 +126,7 @@ Dokumentacja do Music Player Daemon (MPD).
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 # ac_cv_* hacks to avoid unwanted linking
This page took 0.147868 seconds and 4 git commands to generate.