Author: dmeyer
Date: Wed Dec 20 16:09:55 2006
New Revision: 2256
Modified:
trunk/popcorn/src/backends/mplayer/player.py
Log:
use childlog logger
Modified: trunk/popcorn/src/backends/mplayer/player.py
==============================================================================
--- trunk/popcorn/src/backends/mplayer/player.py (original)
+++ trunk/popcorn/src/backends/mplayer/player.py Wed Dec 20 16:09:55 2006
@@ -56,7 +56,7 @@
# get logging object
log = logging.getLogger('popcorn.mplayer')
-
+childlog = logging.getLogger('popcorn.child').debug
# A cache holding values specific to an MPlayer executable (version,
# filter list, video/audio driver list, input keylist). This dict is
@@ -208,11 +208,11 @@
def _child_handle_line(self, line):
if re.search("@@@|outbuf|overlay", line, re.I):
- log.info(line)
+ childlog(line)
elif line[:2] not in ("A:", "V:"):
- log.debug(line)
+ childlog(line)
elif USE_GDB:
- log.debug(line)
+ childlog(line)
if line.startswith("V:") or line.startswith("A:"):
m = MPlayer.RE_STATUS.search(line)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog