The structure_change message was originally emitted on source pads and
then recently changed to be sink pads. This causes a failure in the
gst-python testsuite. Disable the restriction so that the published
behaviour is still allowed.
GstStructure *structure;
g_return_val_if_fail (GST_IS_PAD (src), NULL);
- g_return_val_if_fail (GST_PAD_DIRECTION (src) == GST_PAD_SINK, NULL);
+ // g_return_val_if_fail (GST_PAD_DIRECTION (src) == GST_PAD_SINK, NULL);
g_return_val_if_fail (GST_IS_ELEMENT (owner), NULL);
structure = gst_structure_id_new (GST_QUARK (MESSAGE_STRUCTURE_CHANGE),