[gstreamer-bugs] [Bug 318447] gst_bin_iterate_sorted: Invalid call to gst_iterator_new

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Oct 10 08:33:53 PDT 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=318447
 GStreamer | gstreamer (core) | Ver: HEAD CVS

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #53289|                            |committed
             Status|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.9.4



------- Additional Comments From Tim-Philipp Müller  2005-10-10 15:33 -------
Nice catch, thanks for the patch!

2005-10-10  Tim-Philipp Muller  <tim at centricular dot net>

        * gst/gstiterator.c: (gst_iterator_new):
          Add assertions to make sure passed GType is likely to really
          be a GType (as the compiler won't catch it if the size and
          GType arguments get mixed up, see #318447).

2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>

        * 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).

 Cheers
  -Tim


------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list