[pitivi: 1/14] timeline: change a set_state(PLAYING) call to sync_state_with_parent().



commit a048cb0ad00995645a0382edc9ae9847941a4f52
Author: Alessandro Decina <alessandro d gmail com>
Date:   Mon Sep 27 17:26:15 2010 +0200

    timeline: change a set_state(PLAYING) call to sync_state_with_parent().

 pitivi/factories/timeline.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/factories/timeline.py b/pitivi/factories/timeline.py
index 7363b63..90f7484 100644
--- a/pitivi/factories/timeline.py
+++ b/pitivi/factories/timeline.py
@@ -130,7 +130,7 @@ class TimelineSourceFactory(SourceFactory):
         else:
             seek = FixSeekStart(track)
         self.bin.add(seek)
-        seek.set_state(gst.STATE_PLAYING)
+        seek.sync_state_with_parent()
         pad.link(seek.get_pad('sink'))
         ghost = gst.GhostPad('src%d' % self.pad_num + str(id(pad)), seek.get_pad('src'))
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]