mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
iterator: Fix single iterator for NULL objects and non-GTypeInstance objects
Fixes bug #593719.
This commit is contained in:
parent
86edbb954c
commit
66e5d4ee4b
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ gst_iterator_new_single (GType type, gpointer object, GstCopyFunction copy,
|
|||
|
||||
result = (GstSingleObjectIterator *)
|
||||
gst_iterator_new (sizeof (GstSingleObjectIterator),
|
||||
G_TYPE_FROM_INSTANCE (object), NULL, &_single_object_dummy_cookie,
|
||||
type, NULL, &_single_object_dummy_cookie,
|
||||
(GstIteratorNextFunction) gst_single_object_iterator_iterator_next, NULL,
|
||||
(GstIteratorResyncFunction) gst_single_object_iterator_resync,
|
||||
(GstIteratorFreeFunction) gst_single_object_iterator_free);
|
||||
|
|
Loading…
Reference in a new issue