Author: tack
Date: Thu Jun 21 15:41:42 2007
New Revision: 2713
Modified:
trunk/popcorn/src/backends/mplayer/config.cxml
trunk/popcorn/src/backends/mplayer/player.py
Log:
audiocodecs config option should apply whether passthrough is enabeld or
not; fix description.
Modified: trunk/popcorn/src/backends/mplayer/config.cxml
==============================================================================
--- trunk/popcorn/src/backends/mplayer/config.cxml (original)
+++ trunk/popcorn/src/backends/mplayer/config.cxml Thu Jun 21 15:41:42 2007
@@ -45,10 +45,10 @@
<var name="audiocodecs" type="str">
<desc lang="en">
- audiocodes to use or omit for the mplayer. This will only be used
- in the passthrough mode. See -ac parameter of mplayer for possible
- options. The first parameters will allways 'hwac3, hwdts,'. The
- added parameters will get appended to this list.
+ Manually override MPlayer's use of audio codecs. This is useful
+ to disable a buggy codec, or prefer one codec over another. See
+ 'mplayer -ac help' for a list of available codecs, and the MPlayer
+ man page for usage information.
</desc>
</var>
Modified: trunk/popcorn/src/backends/mplayer/player.py
==============================================================================
--- trunk/popcorn/src/backends/mplayer/player.py (original)
+++ trunk/popcorn/src/backends/mplayer/player.py Thu Jun 21 15:41:42 2007
@@ -438,6 +438,8 @@
if config.audio.passthrough:
args.add(ac='hwac3,hwdts,%s' % config.mplayer.audiocodecs)
else:
+ if config.mplayer.audiocodecs:
+ args.add(ac='%s' % config.mplayer.audiocodecs)
args.add(channels=config.audio.channels)
args.add(ao=config.audio.driver)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog