Author: duncan
Date: Sun Feb 10 06:44:37 2008
New Revision: 10356
Log:
[ 1890498 ] Wrong audio tracks for OGM, MKV
Fix applied for a bug reported by Milan Cermak
Modified:
branches/rel-1-7/freevo/ChangeLog
branches/rel-1-7/freevo/src/video/configure.py
branches/rel-1/freevo/ChangeLog
branches/rel-1/freevo/src/video/configure.py
Modified: branches/rel-1-7/freevo/ChangeLog
==============================================================================
--- branches/rel-1-7/freevo/ChangeLog (original)
+++ branches/rel-1-7/freevo/ChangeLog Sun Feb 10 06:44:37 2008
@@ -23,6 +23,7 @@
* Updated tv program to stop reporting that a program is over (F#1886568)
* Updated xml tv epg to allow a timezone to be specified (F#1889376)
* Updated youtube video plug-in to look up two links (F#1890214)
+ * Fixed audio selection for the first track for mkv and ogm video files
(B#1890498)
* Fixed cdbackup plug-in to allow empty parameters (B#1889068)
* Fixed the main program to cause a crash when local_conf.py is invalid
(B#1886624)
* Fixed web servers encoding interface (B#1885914)
Modified: branches/rel-1-7/freevo/src/video/configure.py
==============================================================================
--- branches/rel-1-7/freevo/src/video/configure.py (original)
+++ branches/rel-1-7/freevo/src/video/configure.py Sun Feb 10 06:44:37 2008
@@ -58,19 +58,20 @@
for audio in item.info['audio']:
a = copy.copy(audio)
- if not a.has_key('id') or not a['id']:
+ # set reasonable defaults when attributes are missing or not set
+ if not a.has_key('id') or a['id'] is None:
a['id'] = int(item.info['audio'].index(audio))+1
- if not a.has_key('title') or not a['title']:
+ if not a.has_key('title') or a['title'] is None:
a['title'] = ''
- if not a.has_key('language') or not a['language']:
+ if not a.has_key('language') or a['language'] is None:
a['language'] = _('Stream %s') % a['id']
- if not a.has_key('channels') or not a['channels']:
+ if not a.has_key('channels') or a['channels'] is None:
a['channels'] = 2 # wild guess :-)
- if not a.has_key('codec') or not a['codec']:
+ if not a.has_key('codec') or a['codec'] is None:
a['codec'] = '???'
txt = '%(language)s %(title)s (channels=%(channels)s:%(codec)s)' % a
Modified: branches/rel-1/freevo/ChangeLog
==============================================================================
--- branches/rel-1/freevo/ChangeLog (original)
+++ branches/rel-1/freevo/ChangeLog Sun Feb 10 06:44:37 2008
@@ -26,6 +26,7 @@
* Updated tv program to stop reporting that a program is over (F#1886568)
* Updated xml tv epg to allow a timezone to be specified (F#1889376)
* Updated youtube video plug-in to look up two links (F#1890214)
+ * Fixed audio selection for the first track for mkv and ogm video files
(B#1890498)
* Fixed cdbackup plug-in to allow empty parameters (B#1889068)
* Fixed the main program to cause a crash when local_conf.py is invalid
(B#1886624)
* Fixed web servers encoding interface (B#1885914)
Modified: branches/rel-1/freevo/src/video/configure.py
==============================================================================
--- branches/rel-1/freevo/src/video/configure.py (original)
+++ branches/rel-1/freevo/src/video/configure.py Sun Feb 10 06:44:37 2008
@@ -58,19 +58,20 @@
for audio in item.info['audio']:
a = copy.copy(audio)
- if not a.has_key('id') or not a['id']:
+ # set reasonable defaults when attributes are missing or not set
+ if not a.has_key('id') or a['id'] is None:
a['id'] = int(item.info['audio'].index(audio))+1
- if not a.has_key('title') or not a['title']:
+ if not a.has_key('title') or a['title'] is None:
a['title'] = ''
- if not a.has_key('language') or not a['language']:
+ if not a.has_key('language') or a['language'] is None:
a['language'] = _('Stream %s') % a['id']
- if not a.has_key('channels') or not a['channels']:
+ if not a.has_key('channels') or a['channels'] is None:
a['channels'] = 2 # wild guess :-)
- if not a.has_key('codec') or not a['codec']:
+ if not a.has_key('codec') or a['codec'] is None:
a['codec'] = '???'
txt = '%(language)s %(title)s (channels=%(channels)s:%(codec)s)' % a
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog