diff options
author | cpm <cpm@FreeBSD.org> | 2016-03-30 17:02:32 +0800 |
---|---|---|
committer | cpm <cpm@FreeBSD.org> | 2016-03-30 17:02:32 +0800 |
commit | 88f39529836190f4a36a2a8d9488321cf0130000 (patch) | |
tree | 17d3ec4e70cce95543fd450c3af5b7aa0fe50c18 | |
parent | a89f94aec2611f8f6642b4ba9bb0f4587dc0a4b5 (diff) | |
download | freebsd-ports-gnome-88f39529836190f4a36a2a8d9488321cf0130000.tar.gz freebsd-ports-gnome-88f39529836190f4a36a2a8d9488321cf0130000.tar.zst freebsd-ports-gnome-88f39529836190f4a36a2a8d9488321cf0130000.zip |
- Initialize volume to 50% by default.
Submitted by: soralx@cydem.org
Approved by: junovitch (mentor)
-rw-r--r-- | multimedia/mpv/Makefile | 2 | ||||
-rw-r--r-- | multimedia/mpv/files/patch-audio_mixer.c | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 0b2eb3168497..339cf0db2506 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -4,7 +4,7 @@ PORTNAME= mpv PORTVERSION= 0.16.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= multimedia audio diff --git a/multimedia/mpv/files/patch-audio_mixer.c b/multimedia/mpv/files/patch-audio_mixer.c new file mode 100644 index 000000000000..15d7b2681133 --- /dev/null +++ b/multimedia/mpv/files/patch-audio_mixer.c @@ -0,0 +1,13 @@ +--- audio/mixer.c.orig 2016-03-29 14:12:22 UTC ++++ audio/mixer.c +@@ -57,8 +57,8 @@ struct mixer *mixer_init(void *talloc_ct + *mixer = (struct mixer) { + .log = mp_log_new(mixer, global->log, "mixer"), + .opts = global->opts, +- .vol_l = 100, +- .vol_r = 100, ++ .vol_l = -1, ++ .vol_r = -1, + .driver = "", + }; + return mixer; |