GstBin: re-enable or remove duration caching
Submitted by Tim Müller
Something seems to be wrong with duration query caching in bins.
I've got a playbin using a cd audio source. When the source changes tracks, it posts a new DURATION message on the bus with the duration of the new track. That should clear the existing cached durations, yet further gst_element_query (playbin, ...) after that return the same duration as previous calls.
Haven't had a chance to look into it yet. Things work fine though if I comment out the block where it returns cached durations in gstbin.c, gst_bin_query().