baseparse: estimate duration on EOS
authorVineeth TM <vineeth.tm@samsung.com>
Fri, 10 Jul 2015 00:12:15 +0000 (09:12 +0900)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 10 Jul 2015 19:23:43 +0000 (15:23 -0400)
commit6d78d32d51970003d7bc54fd16cb37922501df91
tree0883ee6cd9ddde4e3f6676a91da1789f2074650a
parent427400be1d2968c73d8bd0cc03bf840538a25be0
baseparse: estimate duration on EOS

For files which are smaller than 1.5 seconds, the duration
estimation does not happen. So the duration will always be
displayed as 0. Updating the duration on EOS when the estimation
has not happened already

https://bugzilla.gnome.org/show_bug.cgi?id=750131
libs/gst/base/gstbaseparse.c