svn commit: r336565 - in head/audio/musicpd: . files

Chris Rees crees at FreeBSD.org
Sun Dec 15 18:49:16 UTC 2013


Author: crees
Date: Sun Dec 15 18:49:15 2013
New Revision: 336565
URL: http://svnweb.freebsd.org/changeset/ports/336565

Log:
  Fix WMA playback.
  
  0.18 update will come soon, but it's proving nontrivial
  due to a substantial rewrite in c++!
  
  PR:		ports/184768
  Submitted by:	Thomas Zander <thomas.e.zander at googlemail.com>

Added:
  head/audio/musicpd/files/patch-src-decoder-ffmpeg_decoder_plugin-c   (contents, props changed)
Modified:
  head/audio/musicpd/Makefile

Modified: head/audio/musicpd/Makefile
==============================================================================
--- head/audio/musicpd/Makefile	Sun Dec 15 18:35:11 2013	(r336564)
+++ head/audio/musicpd/Makefile	Sun Dec 15 18:49:15 2013	(r336565)
@@ -2,7 +2,7 @@
 
 PORTNAME=	musicpd
 PORTVERSION=	0.17.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	audio ipv6
 MASTER_SITES=	SF/${PORTNAME}/mpd/${PORTVERSION}
 DISTNAME=	mpd-${PORTVERSION}

Added: head/audio/musicpd/files/patch-src-decoder-ffmpeg_decoder_plugin-c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/musicpd/files/patch-src-decoder-ffmpeg_decoder_plugin-c	Sun Dec 15 18:49:15 2013	(r336565)
@@ -0,0 +1,15 @@
+--- src/decoder/ffmpeg_decoder_plugin.c.orig	2013-01-07 01:39:40.000000000 +0100
++++ src/decoder/ffmpeg_decoder_plugin.c	2013-12-14 21:22:19.284609914 +0100
+@@ -395,6 +395,11 @@
+ #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;
+ 	}
+


More information about the svn-ports-head mailing list