plugins/tracklength-gstreamer.c: Rewrite to use `GstDiscoverer'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 11 Jul 2018 11:54:27 +0000 (12:54 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 11 Jul 2018 11:54:27 +0000 (12:54 +0100)
commit5dcfc065d123f6643b12ed1766c7976e58b6941a
treedfea934457cb05233359ecd9f292e8e085fde3cc
parentb477ac40aba0485d1daf8b20adf62002cd274203
plugins/tracklength-gstreamer.c: Rewrite to use `GstDiscoverer'.

The old version worked, but was fiddly, and very slow at some MP3
files.  It seems that if you start playing for a few milliseconds and
then ask, then you get a good answer, but since I found this out by
tripping over the `GstDiscoverer' machinery that GStreamer already has,
it seemed like a better idea to just use that.  Which means almost all
of the code has gone.
configure.ac
plugins/tracklength-gstreamer.c