• Wim Taymans's avatar
    devicemonitor: keep order of providers and devices · 8caf9b7a
    Wim Taymans authored
    The deviceproviders are added to the array sorted by their rank. Make
    sure we keep this ordering when removing a provider.
    We use _prepend to collect the devices, use g_list_reverse to get the
    devices in the right order; sorted by rank and in the same order as
    returned by the provider.
gstdevicemonitor.c 15.4 KB