typefinding: optimise AC-3 typefinder a bit
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 23 Jan 2010 15:25:42 +0000 (15:25 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 23 Jan 2010 15:28:02 +0000 (15:28 +0000)
commiteef885cf861a6ac4f7410d92bbf72ddd47fac4e1
tree3d3c276a5f8e841bb65a10a2b8ae34c6a7d8ef37
parentca7ba91e5b27b147f0d465061bc819663347cc72
typefinding: optimise AC-3 typefinder a bit

Make AC-3 typefinder use the DataScanCtx stuff so we don't have to
do gst_type_find_peek() in the inner loop all the time. Also return
when we've suggested AC3 caps, instead of continuing with the loop.
gst/typefind/gsttypefindfunctions.c