mpegpsdemux: limit the amount of scanning done on duration queries
authorAlessandro Decina <alessandro.d@gmail.com>
Wed, 18 Jan 2012 11:04:52 +0000 (12:04 +0100)
committerLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Fri, 4 May 2012 01:18:22 +0000 (21:18 -0400)
commitde37df00d560a2fd14878d9293b9ca9655772cfa
tree14f30c329656636a656628ec0cfc7b5d537a7358
parent5455a2b19f3b78f155398a59bbd7cf70cfb3beac
mpegpsdemux: limit the amount of scanning done on duration queries

Limit the amount of data scanned when looking for PTSes in duration queries as a
failsafe for kinda broken, potentially large files with sparse or no PTSes.
gst/mpegdemux/gstmpegdemux.c