Commit 337357b1 authored by Thibault Saunier's avatar Thibault Saunier
Browse files

Port to python3

parent b7d0cf2d
......@@ -127,7 +127,7 @@ def setup_tests(test_manager, options):
for padtemplate in padstemplates:
if padtemplate.static_caps.string:
caps = padtemplate.get_caps()
for i in xrange(caps.get_size()):
for i in range(caps.get_size()):
structure = caps.get_structure(i)
if "audio/x-raw" in structure.get_name():
if padtemplate.direction == Gst.PadDirection.SRC:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment