2005-07-12 Edward Hervey <edward@fluendo.com>
+ * gst/gstmessage.override:
+ fixes in .parse_state_changed() and parse_tag()
+
+2005-07-12 Edward Hervey <edward@fluendo.com>
+
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
gst_message_parse_state_changed (GST_MESSAGE(self->obj), &old, &new);
/* Return this as a tuple */
ret = PyList_New(2);
- PyList_SET_ITEM(ret, 0, pyg_enum_from_gtype(GST_TYPE_ELEMENT_STATE, old));
- PyList_SET_ITEM(ret, 1, pyg_enum_from_gtype(GST_TYPE_ELEMENT_STATE, new));
+ PyList_SET_ITEM(ret, 0, pyg_flags_from_gtype(GST_TYPE_ELEMENT_STATE, old));
+ PyList_SET_ITEM(ret, 1, pyg_flags_from_gtype(GST_TYPE_ELEMENT_STATE, new));
return ret;
}
%%
gst_message_parse_tag (GST_MESSAGE(self->obj), &taglist);
- ret = PyList_New(0);
- PyList_Append(ret, pyg_boxed_new (GST_TYPE_TAG_LIST, taglist, TRUE, TRUE));
+ ret = pyg_boxed_new (GST_TYPE_TAG_LIST, taglist, TRUE, TRUE);
return ret;
}