Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2013 18:49:16 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336565 - in head/audio/musicpd: . files
Message-ID:  <201312151849.rBFInGZ5035887@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;
+ 	}
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312151849.rBFInGZ5035887>