[pitivi: 13/13] stream: add a fix for wav files.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi: 13/13] stream: add a fix for wav files.
- Date: Mon, 16 Mar 2009 08:04:55 -0400 (EDT)
commit 5229af6baa164fa0818a9cb2603c5c4e34c14742
Author: Alessandro Decina <alessandro decina collabora co uk>
Date: Thu Mar 12 17:43:21 2009 +0100
stream: add a fix for wav files.
---
pitivi/stream.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/pitivi/stream.py b/pitivi/stream.py
index 6afa0e4..7aa640f 100644
--- a/pitivi/stream.py
+++ b/pitivi/stream.py
@@ -225,7 +225,8 @@ def find_decoder(pad):
return None
factory = element.get_factory()
- if factory is not None and 'Decoder' in factory.get_klass():
+ if factory is not None and ('Decoder' in factory.get_klass() or \
+ 'Codec/Demuxer/Audio' == factory.get_klass()):
decoder = element
break
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]