Subject: CVS commit: pkgsrc/graphics
To: None <pkgsrc-changes@netbsd.org>
From: Daniel Carosone <dan@netbsd.org>
List: pkgsrc-changes
Date: 05/25/2003 07:20:53
Module Name: pkgsrc
Committed By: dan
Date: Sun May 25 07:20:52 UTC 2003
Modified Files:
pkgsrc/graphics/gmplayer: Makefile
pkgsrc/graphics/mencoder: Makefile
pkgsrc/graphics/mplayer: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 pkgsrc/graphics/gmplayer/Makefile
cvs rdiff -r1.10 -r1.11 pkgsrc/graphics/mencoder/Makefile
cvs rdiff -r1.34 -r1.35 pkgsrc/graphics/mplayer/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.