flacparse: tell baseparse the duration in samples for better accuracy
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 23 May 2011 12:50:46 +0000 (13:50 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 23 May 2011 12:50:46 +0000 (13:50 +0100)
commita53540346a18d27b94f5254ac2582cb844e9bde0
tree52f30181a82e88c15b5bc6b14f61e9a50204271c
parent900b2fb63dac15fe1013d9e326a7a5c8d4da1cca
flacparse: tell baseparse the duration in samples for better accuracy

Tell GstBaseParse the duration in samples instead of time, so that
a duration query in DEFAULT format will return the correct number
of samples without rounding errors. Baseparse will convert this
into time itself when needed.

https://bugzilla.gnome.org/show_bug.cgi?id=650785
gst/audioparsers/gstflacparse.c