typefind: Keep typefind factories sorted in the registry. Fixes #599147
authorEdward Hervey <bilboed@bilboed.com>
Wed, 21 Oct 2009 07:48:41 +0000 (09:48 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 24 Oct 2009 08:44:09 +0000 (10:44 +0200)
commit5067664c09668384d57ccde51e6f2f62e1778cea
treee16cb5c84067312d534b025a5648049482a536ce
parentc79ed99bab51a769924bfb33abb6b921df368829
typefind: Keep typefind factories sorted in the registry. Fixes #599147

This avoids having to do the sorting everytime we use typefind

The behaviour of gst_type_find_factory_get_list has subtlely changed
in the sense that the order was previously undefined, whereas now
it returns them sorted by rank and then by name.
gst/gstregistry.c
gst/gsttypefindfactory.c
libs/gst/base/gsttypefindhelper.c