After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 790091 - discoverer: Implement GstDiscovererInfo caching
discoverer: Implement GstDiscovererInfo caching
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-11-08 19:40 UTC by Thibault Saunier
Modified: 2018-11-03 12:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
discoverer: Implement GstDiscovererInfo caching (12.96 KB, patch)
2017-11-08 19:40 UTC, Thibault Saunier
none Details | Review
discoverer: Serialize/load "next" StreamInfo in GVariants (4.96 KB, patch)
2017-11-08 19:41 UTC, Thibault Saunier
none Details | Review
discoverer: Implement GstDiscovererInfo caching (13.63 KB, patch)
2017-11-10 17:32 UTC, Thibault Saunier
none Details | Review
discoverer: Serialize/load "next" StreamInfo in GVariants (5.37 KB, patch)
2017-11-10 17:32 UTC, Thibault Saunier
none Details | Review
dicoverer: Do not add container infos to the stream list (1.03 KB, patch)
2017-11-10 17:32 UTC, Thibault Saunier
none Details | Review

Description Thibault Saunier 2017-11-08 19:40:52 UTC
See commit message.
Comment 1 Thibault Saunier 2017-11-08 19:40:58 UTC
Created attachment 363251 [details] [review]
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.
Comment 2 Thibault Saunier 2017-11-08 19:41:05 UTC
Created attachment 363252 [details] [review]
discoverer: Serialize/load "next" StreamInfo in GVariants
Comment 3 Sebastian Dröge (slomo) 2017-11-09 09:04:35 UTC
What's a potential use case for this?
Comment 4 Thibault Saunier 2017-11-09 10:59:25 UTC
(In reply to Sebastian Dröge (slomo) from comment #3)
> What's a potential use case for this?

Speeding up loading Pitivi projects by a huge factor? :-)
Comment 5 Sebastian Dröge (slomo) 2017-11-09 11:05:40 UTC
That I guessed ;) I should've been more specific. Can you add that (when would one want to do that) to the documentation of the functions?

It generally seems like a good thing to have in any case.
Comment 6 Thibault Saunier 2017-11-10 17:32:05 UTC
Created attachment 363366 [details] [review]
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.
Comment 7 Thibault Saunier 2017-11-10 17:32:11 UTC
Created attachment 363367 [details] [review]
discoverer: Serialize/load "next" StreamInfo in GVariants
Comment 8 Thibault Saunier 2017-11-10 17:32:17 UTC
Created attachment 363368 [details] [review]
dicoverer: Do not add container infos to the stream list

They are not added on actual discovery
Comment 9 GStreamer system administrator 2018-11-03 12:01:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/398.