Update of /cvsroot/freevo/freevo/src/tv/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv4827/src/tv/plugins
Modified Files:
generic_record.py mplayer.py
Log Message:
BSD patches from Lars
Index: generic_record.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/generic_record.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** generic_record.py 6 Sep 2003 15:12:04 -0000 1.9
--- generic_record.py 12 Oct 2003 09:54:27 -0000 1.10
***************
*** 11,14 ****
--- 11,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.10 2003/10/12 09:54:27 dischi
+ # BSD patches from Lars
+ #
# Revision 1.9 2003/09/06 15:12:04 rshortt
# recordserver's name changed.
***************
*** 153,156 ****
--- 156,166 ----
elif self.mode == 'record':
print('Record_Thread::run: cmd=%s' % self.command)
+
+ # The FreeBSD bsdbt848 driver does not support the adevice
+ # setting, so we must switch the mixer to the correct record
+ # source before starting mencoder. I'm not sure how to do
+ # this with Python, so just call the mixer command directly.
+ if os.uname()[0] == 'FreeBSD':
+ os.system('mixer =rec line rec 100 > /dev/null 2>&1')
tv_lock_file = config.FREEVO_CACHEDIR + '/record'
Index: mplayer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/mplayer.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** mplayer.py 14 Sep 2003 01:38:59 -0000 1.20
--- mplayer.py 12 Oct 2003 09:54:27 -0000 1.21
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.21 2003/10/12 09:54:27 dischi
+ # BSD patches from Lars
+ #
# Revision 1.20 2003/09/14 01:38:59 outlyer
# More FreeBSD support from Lars
***************
*** 174,179 ****
tvcmd = ('tv://%s -tv driver=%s:%s:%s:%s:'
! '%s:width=%s:height=%s:%s' %
! (tuner_channel, config.TV_DRIVER, device, input, norm,
chanlist, w, h, outfmt))
# Build the MPlayer command
--- 177,182 ----
tvcmd = ('tv://%s -tv driver=%s:%s:%s:%s:'
! '%s:width=%s:height=%s:%s %s' %
! (tuner_channel, config.TV_DRIVER, device, input, norm,
chanlist, w, h, outfmt, config.TV_OPTS))
# Build the MPlayer command
***************
*** 206,211 ****
tvcmd = ('-tv on:driver=%s:%s:%s:%s:'
! '%s:width=%s:height=%s:%s' %
! (config.TV_DRIVER, device, input, norm, chanlist, w, h, outfmt))
args = (config.MPLAYER_CMD, config.MPLAYER_VO_DEV,
--- 209,214 ----
tvcmd = ('-tv on:driver=%s:%s:%s:%s:'
! '%s:width=%s:height=%s:%s %s' %
! (config.TV_DRIVER, device, input, norm, chanlist, w, h, outfmt,
config.TV_OPTS))
args = (config.MPLAYER_CMD, config.MPLAYER_VO_DEV,
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog