Change GstIterator support to stop keeping references alive until garbage collection runs. This includes keeping a reference to the parent object (eg. Element / Bin) that has the iterated elements or pads.
Migrate lowlevel GstIterator API to typed pointer.
Move GstIterator from NativeObject subclass to utility method holder.
Directly fill list and free gstiterator eagerly.
Update Element (pads) and Bin (elements) methods.
The returned lists are no longer wrapped via Collections.unmodifiableList(..) and the underlying type is changed from LinkedList to ArrayList.
Change GstIterator support to stop keeping references alive until garbage collection runs. This includes keeping a reference to the parent object (eg. Element / Bin) that has the iterated elements or pads.
Migrate lowlevel GstIterator API to typed pointer. Move GstIterator from NativeObject subclass to utility method holder. Directly fill list and free gstiterator eagerly. Update Element (pads) and Bin (elements) methods.
The returned lists are no longer wrapped via
Collections.unmodifiableList(..)
and the underlying type is changed fromLinkedList
toArrayList
.