Advertisement
ziguszagus

Untitled

Jul 16th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. # Filtered caps
  2. struct = Gst.structure_from_string(capsString)
  3. for k in 'width', 'height':
  4. if k in properties:
  5. struct[k] = properties[k]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement