aacparse: only require two frames in a row when we do not have sync
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 23 Aug 2011 11:12:15 +0000 (12:12 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 24 Aug 2011 06:26:31 +0000 (08:26 +0200)
commitf3fc3e1f69587e1bda5e628093918a2a3dd5f874
treee6be4c05f05ec7dcd66d168c813c059eb1608bb9
parentbd604175c559fb524a54a55c85becdfa852673a8
aacparse: only require two frames in a row when we do not have sync

This avoids a single bit error dropping two frames unnecessarily.
The two consecutive frames check is still required when we don't
have sync.

https://bugzilla.gnome.org/show_bug.cgi?id=657080
gst/audioparsers/gstaacparse.c