Commit b0898556 authored by Jan Schmidt's avatar Jan Schmidt

test: Fix the structure_changed message test

The core changed to use sink pads for the structure changed
message instead of source pads. Might as well fix the test too.
parent e32f83d6
......@@ -168,7 +168,7 @@ class TestCreateMessages(TestCase):
def testStructureChangeMessage(self):
if hasattr(gst, 'message_new_structure_change'):
p = gst.Pad("blah", gst.PAD_SRC)
p = gst.Pad("blah", gst.PAD_SINK)
m = gst.message_new_structure_change(p,
gst.STRUCTURE_CHANGE_TYPE_PAD_LINK,
self.element, True)
......
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