Author: dmeyer
Date: Wed Dec  6 15:49:09 2006
New Revision: 2157

Modified:
   trunk/metadata/src/audio/ac3info.py
   trunk/metadata/src/audio/eyed3info.py

Log:
add fourcc codes

Modified: trunk/metadata/src/audio/ac3info.py
==============================================================================
--- trunk/metadata/src/audio/ac3info.py (original)
+++ trunk/metadata/src/audio/ac3info.py Wed Dec  6 15:49:09 2006
@@ -154,7 +154,7 @@
         if info & 1:
             # subwover
             self.channels += 1
-        self.codec = 'AC3'
+        self.codec = 0x2000 # fourcc code of ac3
         self.mime = 'audio/ac3'
 
 factory.register( 'audio/ac3', ('ac3',), mediainfo.TYPE_MUSIC, AC3Info )

Modified: trunk/metadata/src/audio/eyed3info.py
==============================================================================
--- trunk/metadata/src/audio/eyed3info.py       (original)
+++ trunk/metadata/src/audio/eyed3info.py       Wed Dec  6 15:49:09 2006
@@ -100,6 +100,7 @@
    def __init__(self, file, tagVersion = eyeD3_tag.ID3_ANY_VERSION):
       mediainfo.MusicInfo.__init__(self)
       self.fileName = file.name;
+      self.codec = 0x0055 # fourcc code of mp3
       self.mime = 'audio/mp3'
 
       if not eyeD3_tag.isMp3File(file.name):

-------------------------------------------------------------------------
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

Reply via email to