no need to get caps twice
This commit is contained in:
parent
35882f2234
commit
a30f493ae8
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue