diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2009-01-16 15:07:00 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2009-01-16 15:07:00 +0000 |
commit | 962697d427ba3bf185e166bb89b93bd0357e9ab5 (patch) | |
tree | b33be908d5da76b3be0e9d35ce7641fad5be7227 /multimedia/mplayer | |
parent | f148355ab299512915a840296396de1dfe35b4fe (diff) | |
download | ports-962697d427ba3bf185e166bb89b93bd0357e9ab5.tar.gz ports-962697d427ba3bf185e166bb89b93bd0357e9ab5.zip |
Notes
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r-- | multimedia/mplayer/Makefile | 2 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-libao2-ao_oss.c | 18 |
2 files changed, 19 insertions, 1 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index d1c7ac3e4c9b..9459784b69bd 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -7,7 +7,7 @@ PORTNAME= mplayer PORTVERSION= ${MPLAYER_PORT_VERSION} -PORTREVISION= 10 +PORTREVISION= 11 COMMENT= High performance media player supporting many formats diff --git a/multimedia/mplayer/files/patch-libao2-ao_oss.c b/multimedia/mplayer/files/patch-libao2-ao_oss.c new file mode 100644 index 000000000000..ba7ccfb401eb --- /dev/null +++ b/multimedia/mplayer/files/patch-libao2-ao_oss.c @@ -0,0 +1,18 @@ +--- libao2/ao_oss.c.orig ++++ libao2/ao_oss.c +@@ -433,6 +433,7 @@ + fcntl(audio_fd, F_SETFD, FD_CLOEXEC); + #endif + ++ ioctl (audio_fd, SNDCTL_DSP_SPEED, &ao_data.samplerate); + oss_format = format2oss(ao_data.format); + ioctl (audio_fd, SNDCTL_DSP_SETFMT, &oss_format); + if(ao_data.format != AF_FORMAT_AC3) { +@@ -442,7 +443,6 @@ + int c = ao_data.channels-1; + ioctl (audio_fd, SNDCTL_DSP_STEREO, &c); + } +- ioctl (audio_fd, SNDCTL_DSP_SPEED, &ao_data.samplerate); + } + } + |