[pitivi] Passing -1 as a timeout argument doesn't work anymore
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Passing -1 as a timeout argument doesn't work anymore
- Date: Sun, 2 Sep 2012 04:01:42 +0000 (UTC)
commit 0d81a5e74c0c5e158793311c3b3b118fcf73f56f
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date: Fri Aug 10 09:00:24 2012 +0200
Passing -1 as a timeout argument doesn't work anymore
pitivi/timeline/thumbnailer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/thumbnailer.py b/pitivi/timeline/thumbnailer.py
index 482ae76..5ed3815 100644
--- a/pitivi/timeline/thumbnailer.py
+++ b/pitivi/timeline/thumbnailer.py
@@ -498,7 +498,7 @@ class RandomAccessVideoPreviewer(RandomAccessPreviewer):
# Wait for the pipeline to be prerolled so we can check the width
# that the thumbnails will have and set the aspect ratio accordingly
# as well as getting the framerate of the video:
- if gst.STATE_CHANGE_SUCCESS == self.videopipeline.get_state(gst.CLOCK_TIME_NONE)[0]:
+ if gst.STATE_CHANGE_SUCCESS == self.videopipeline.get_state(0)[0]:
neg_caps = sinkpad.get_negotiated_caps()[0]
self.aspect = neg_caps["width"] / float(self.theight)
self.framerate = neg_caps["framerate"]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]