[pitivi] SmartVideoMixer: Ensure we request a unique sink pad
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] SmartVideoMixer: Ensure we request a unique sink pad
- Date: Thu, 19 Nov 2009 18:35:33 +0000 (UTC)
commit 5c9099760789c2c5faeb6ee76a3b1372c4674dab
Author: Edward Hervey <bilboed bilboed com>
Date: Sun Aug 23 17:47:28 2009 +0200
SmartVideoMixer: Ensure we request a unique sink pad
pitivi/elements/mixer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/elements/mixer.py b/pitivi/elements/mixer.py
index fda8978..7035ae1 100644
--- a/pitivi/elements/mixer.py
+++ b/pitivi/elements/mixer.py
@@ -158,7 +158,7 @@ class SmartVideomixerBin(gst.Bin):
csp.sync_state_with_parent()
capsfilter.sync_state_with_parent()
- videomixerpad = self.videomixer.get_request_pad("sink_%d")
+ videomixerpad = self.videomixer.get_request_pad("sink_%d" % self.pad_count)
capsfilter.get_pad("src").link(videomixerpad)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]