discoverer: Implement GstDiscovererInfo caching
authorThibault Saunier <tsaunier@gnome.org>
Wed, 8 Nov 2017 13:38:57 +0000 (10:38 -0300)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 7 Mar 2019 20:59:29 +0000 (20:59 +0000)
commit54920276b0b9cfc10c083fcf4708901a2395e1a7
treef69f2507700d844fc01eac9d333198a7c4000a08
parent6a8c15f3bdc7077b1e5954580c25f99e1b112ead
discoverer: Implement GstDiscovererInfo caching

This uses the gst_discoverer_info_from/to_variant API and saves
the variants on disc (in the user data cache dir) allowing much
faster retrieval of the information after the cache has been built.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/398
gst-libs/gst/pbutils/gstdiscoverer.c
gst-libs/gst/pbutils/pbutils-private.h
tools/gst-discoverer.c