[pitivi] SourceFactory: Make sure video elements reach the proper state befor using them.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] SourceFactory: Make sure video elements reach the proper state befor using them.
- Date: Thu, 19 Nov 2009 18:35:44 +0000 (UTC)
commit 836e1ec382e3847506ed46f2be66c81b712b1d8f
Author: Edward Hervey <bilboed bilboed com>
Date: Sat Aug 29 12:09:42 2009 +0200
SourceFactory: Make sure video elements reach the proper state befor using them.
pitivi/factories/base.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/factories/base.py b/pitivi/factories/base.py
index df2f791..d322a72 100644
--- a/pitivi/factories/base.py
+++ b/pitivi/factories/base.py
@@ -390,6 +390,9 @@ class SourceFactory(ObjectFactory):
pad.link(topbin.aconv.get_pad("sink"))
topbin.ghostpad = gst.GhostPad("src", topbin.volume.get_pad("src"))
elif hasattr(topbin, "alpha"):
+ for element in [topbin.queue, topbin.csp, topbin.alpha]:
+ element.sync_state_with_parent()
+
pad.link(topbin.queue.get_pad("sink"))
topbin.ghostpad = gst.GhostPad("src", topbin.alpha.get_pad("src"))
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]