mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
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.
This commit is contained in:
parent
e32f83d608
commit
b0898556bb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue