no need to get caps twice

This commit is contained in:
j 2010-11-03 22:21:44 +01:00
parent 35882f2234
commit a30f493ae8

View file

@ -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