mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
gst/gstbin.c: Pass GType and size arguments to gst_iterator_new() in the right order (maybe we should make _new() tak...
Original commit message from CVS: Reviewed by: Tim-Philipp Müller <tim at centricular dot net> * gst/gstbin.c: (gst_bin_iterate_sorted): Pass GType and size arguments to gst_iterator_new() in the right order (maybe we should make _new() take the GType as first argument just like _new_list()?) (#318447).
This commit is contained in:
parent
9e17ca91dd
commit
ee379a13b6
2 changed files with 12 additions and 2 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
|
||||||
|
|
||||||
|
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/gstbin.c: (gst_bin_iterate_sorted):
|
||||||
|
Pass GType and size arguments to gst_iterator_new() in the right
|
||||||
|
order (maybe we should make _new() take the GType as first argument
|
||||||
|
just like _new_list()?) (#318447).
|
||||||
|
|
||||||
|
|
||||||
2005-10-10 Wim Taymans <wim@fluendo.com>
|
2005-10-10 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/gstelement.c: (gst_element_finalize):
|
* gst/gstelement.c: (gst_element_finalize):
|
||||||
|
|
|
@ -1286,8 +1286,8 @@ gst_bin_iterate_sorted (GstBin * bin)
|
||||||
/* we don't need a NextFunction because we ref the items in the _next
|
/* we don't need a NextFunction because we ref the items in the _next
|
||||||
* method already */
|
* method already */
|
||||||
result = (GstBinSortIterator *)
|
result = (GstBinSortIterator *)
|
||||||
gst_iterator_new (GST_TYPE_ELEMENT,
|
gst_iterator_new (sizeof (GstBinSortIterator),
|
||||||
sizeof (GstBinSortIterator),
|
GST_TYPE_ELEMENT,
|
||||||
GST_GET_LOCK (bin),
|
GST_GET_LOCK (bin),
|
||||||
&bin->children_cookie,
|
&bin->children_cookie,
|
||||||
(GstIteratorNextFunction) gst_bin_sort_iterator_next,
|
(GstIteratorNextFunction) gst_bin_sort_iterator_next,
|
||||||
|
|
Loading…
Reference in a new issue