Subject: CVS commit: pkgsrc/graphics/mplayer-share
To: None <pkgsrc-changes@netbsd.org>
From: Daniel Carosone <dan@netbsd.org>
List: pkgsrc-changes
Date: 05/25/2003 07:12:57
Module Name:	pkgsrc
Committed By:	dan
Date:		Sun May 25 07:12:56 UTC 2003

Modified Files:
	pkgsrc/graphics/mplayer-share: distinfo
Added Files:
	pkgsrc/graphics/mplayer-share/patches: patch-ae

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.23 -r1.24 pkgsrc/graphics/mplayer-share/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/graphics/mplayer-share/patches/patch-ae

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.