typefinding: fix detection of fLaC id packet in broken flac-in-ogg
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 1 Aug 2009 16:26:23 +0000 (17:26 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 1 Aug 2009 18:01:39 +0000 (19:01 +0100)
commite199d7e1cd25eee6d7d3314f83bdda461eb1b509
tree6f2a3fef2581b34bda1d35a7637ce2c067aedd28
parent90f696867098e92fe2d342ea9fc20a444e1e204f
typefinding: fix detection of fLaC id packet in broken flac-in-ogg

There are flac-in-ogg files without the usual flac packet framing
and these files just have a 4-byte fLaC ID packet as first packet.
We need to recognise the type just from these four bytes if we
want oggdemux to recognise these streams correctly.
gst/typefind/gsttypefindfunctions.c
tests/check/gst/typefindfunctions.c