mp3parse: Refactor checking for sync. Make resyncing more reliable.
authorMichael Smith <msmith@songbirdnest.com>
Tue, 22 Sep 2009 19:13:38 +0000 (12:13 -0700)
committerMichael Smith <msmith@songbirdnest.com>
Tue, 22 Sep 2009 19:17:18 +0000 (12:17 -0700)
commit8307e177baf6b1619ea4fadca5c41008f47a7a03
treecfe8430d93bf7a196a5aaf1fcca0ea02989b7457
parent57d01c2526c20f3967caf6058e35506f376a90d3
mp3parse: Refactor checking for sync. Make resyncing more reliable.

Previously, we could get false sync relatively easily - it sometimes happened
on real files. This cleans the code up a fair bit, and makes it require more
confirmation that we've found valid sync before continuing.
gst/mpegaudioparse/gstmpegaudioparse.c