summaryrefslogtreecommitdiff
path: root/graphics/mplayer
diff options
context:
space:
mode:
authordan <dan>2003-05-25 07:20:51 +0000
committerdan <dan>2003-05-25 07:20:51 +0000
commit3a4e56544017fcd2eacbd99d51a39cc263d074a9 (patch)
tree32613d733eeab840b9f01820c6c5bbeddefd44e5 /graphics/mplayer
parente0b75746d8e7b686ba3e60dd5c824516c9809cda (diff)
downloadpkgsrc-3a4e56544017fcd2eacbd99d51a39cc263d074a9.tar.gz
make audio capture for -tv work on NetBSD.
We don't provide FIONREAD for /dev/audio, so use the seek field from AUDIO_GETINFO instead. XXX: by my calculations, the number of samples in seek should be multiplied by the sample size to get number of bytes to read, but this results in mencoder being very choppy, presumably because its blocking for audio. I've left the multiplication in the patch, commented out. The present patch works just fine, so probably my calculations are wrong. This bumps all of the mplayer variants, because -tv -dumpaudio might be used even with the players.
Diffstat (limited to 'graphics/mplayer')
-rw-r--r--graphics/mplayer/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/mplayer/Makefile b/graphics/mplayer/Makefile
index b9cc67304b4..5706f6a53cc 100644
--- a/graphics/mplayer/Makefile
+++ b/graphics/mplayer/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.34 2003/05/24 17:27:10 salo Exp $
+# $NetBSD: Makefile,v 1.35 2003/05/25 07:20:52 dan Exp $
#
.include "../../graphics/mplayer-share/Makefile.common"
PKGNAME= mplayer-${MPLAYER_PKG_VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
COMMENT= Software only MPEG-1/2/4 video decoder
USE_BUILDLINK2= # defined