From 196730592ca2c4d152d6da34e3dbfeac04d64653 Mon Sep 17 00:00:00 2001 From: dan Date: Sun, 25 May 2003 07:20:51 +0000 Subject: 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. --- graphics/gmplayer/Makefile | 4 ++-- graphics/mencoder/Makefile | 4 ++-- graphics/mplayer/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'graphics') diff --git a/graphics/gmplayer/Makefile b/graphics/gmplayer/Makefile index 96d63a67918..a04a9e14ae6 100644 --- a/graphics/gmplayer/Makefile +++ b/graphics/gmplayer/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.18 2003/05/24 17:27:10 salo Exp $ +# $NetBSD: Makefile,v 1.19 2003/05/25 07:20:51 dan Exp $ # .include "../../graphics/mplayer-share/Makefile.common" PKGNAME= gmplayer-${MPLAYER_PKG_VERSION} -PKGREVISION= 2 +PKGREVISION= 3 SKIN_SITES= http://www.mplayerhq.hu/MPlayer/Skin/ \ ftp://ftp.mplayerhq.hu/MPlayer/Skin/ \ ${MASTER_SITE_LOCAL:=mplayer} 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 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 -- cgit v1.2.3