typefinding: make mpeg-ts typefinder scan more data
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 18 Jul 2010 10:24:46 +0000 (11:24 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 18 Jul 2010 10:37:11 +0000 (11:37 +0100)
commitbd0adb11fd11ff1b026ab27f16658ecf117cca42
tree8e37e9deedc92542ffdd34b1395f183e2a50e6be
parenta16024d9fb76581a158e9f91dcff8dc4035c4442
typefinding: make mpeg-ts typefinder scan more data

We only look for packets with payload, but it appears there may be packets without,
which makes it harder to find the N packets with payload in a row that we need in
order to typefind this successfully, so scan some more data than necessary in the
optimistic scenario. Alternatively we could change IS_MPEGTS_HEADER().

Fixes #623663.
gst/typefind/gsttypefindfunctions.c