[pitivi: 2/28] Take out the depth parameter from the audio caps because in a lot of cases it causes pipeline errors
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 2/28] Take out the depth parameter from the audio caps because in a lot of cases it causes pipeline errors
- Date: Thu, 14 Jul 2011 16:23:23 +0000 (UTC)
commit 457820e982a5194626c62b6215a3b00f0fcfd16d
Author: Alex BÄluÈ <alexandru balut gmail com>
Date: Wed Jul 6 01:15:13 2011 +0200
Take out the depth parameter from the audio caps because in a lot of cases it causes pipeline errors
pitivi/settings.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/settings.py b/pitivi/settings.py
index 3960728..314e7cc 100644
--- a/pitivi/settings.py
+++ b/pitivi/settings.py
@@ -530,8 +530,8 @@ class ExportSettings(Signallable, Loggable):
def getAudioCaps(self):
""" Returns the GstCaps corresponding to the audio settings """
- astr = "rate=%d,channels=%d,depth=%d" % (
- self.audiorate, self.audiochannels, self.audiodepth)
+ # TODO: Figure out why including 'depth' causes pipeline failures:
+ astr = "rate=%d,channels=%d" % (self.audiorate, self.audiochannels)
caps_str = "audio/x-raw-int,%s;audio/x-raw-float,%s" % (astr, astr)
audio_caps = gst.caps_from_string(caps_str)
if self.aencoder:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]