summaryrefslogtreecommitdiff
path: root/graphics/mencoder
diff options
context:
space:
mode:
authordan <dan>2003-05-25 07:20:51 +0000
committerdan <dan>2003-05-25 07:20:51 +0000
commitc0272f958321e9d0ce43848ce77093bd46eac060 (patch)
tree32613d733eeab840b9f01820c6c5bbeddefd44e5 /graphics/mencoder
parentc8eb3b7e8cfc549972530d4a7072ca0916fdc0fe (diff)
downloadpkgsrc-c0272f958321e9d0ce43848ce77093bd46eac060.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/mencoder')
-rw-r--r--graphics/mencoder/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/mencoder/Makefile b/graphics/mencoder/Makefile
index e7f2a6afcd8..41a4aaeed36 100644
--- a/graphics/mencoder/Makefile
+++ b/graphics/mencoder/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.10 2003/05/24 17:27:11 salo Exp $
+# $NetBSD: Makefile,v 1.11 2003/05/25 07:20:52 dan Exp $
#
.include "../../graphics/mplayer-share/Makefile.common"
PKGNAME= mencoder-${MPLAYER_PKG_VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
COMMENT= Simple movie encoder for MPlayer-playable movies
USE_BUILDLINK2= # defined