Skip to content

elementfactory: enable construct only property passing

Hi,

I have found myself in the need to pass properties at gobject construction, so I decided to add new functions that allow this.

I don't know if the fact that the current API does not allow this is a well-considered decision.

I could have done it with less modifications but I thought it would be better not to break the current API.

I have got one last issue, I was not able to fix:

# ninja -j4
[112/475] Generating Gst-1.0.gir with a custom command
../gst/gstelementfactory.h:96: Warning: Gst: gst_element_factory_make_with_properties: return value: Missing (transfer) annotation
../gst/gstelementfactory.h:99: Warning: Gst: gst_element_factory_make_valist: return value: Missing (transfer) annotation
[475/475] Linking target tests/misc/netclock-replay
Edited by Thibault Saunier

Merge request reports