update handling of caps in decodebin_pad_added()
authorgregor herrmann <gregor@toastfreeware.priv.at>
Thu, 9 Jul 2020 18:07:47 +0000 (20:07 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Thu, 9 Jul 2020 18:22:42 +0000 (20:22 +0200)
commit73fc7271463f53878788d77ca45f954f942c5853
tree89615b257f9480f10e7c43f3ebf7db2d6ca10648
parent115ea843a6843df879d455de813ead4c285cb1cc
update handling of caps in decodebin_pad_added()

caps is a Gst.Caps object and it has no length:
change assertion to check for caps.get_size()

also caps is no list/not subscriptable, so iterate over its structures.

(the rest is indentation whitespace noise)
lagarde.py