From a30f493ae8543c06f91a56e399ac0d110d1f6c25 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 3 Nov 2010 22:21:44 +0100 Subject: [PATCH] no need to get caps twice --- oxtimeline/video.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/oxtimeline/video.py b/oxtimeline/video.py index 6865193..a5a18a1 100644 --- a/oxtimeline/video.py +++ b/oxtimeline/video.py @@ -47,8 +47,6 @@ class Video(gst.Pipeline): caps = pad.get_caps() if 'video' in str(caps): pad.link(self.queue.get_pad("sink")) - caps = pad.get_caps() - self.queue.link(self.scale) self.scale.link(self.rate) height = self.height