GNOME Bugzilla – Bug 758826
aacparse: Avoid over-skipping when checking LOAS config
Last modified: 2015-12-04 10:57:32 UTC
See comment
Created attachment 316503 [details] [review] aacparse: Avoid over-skipping when checking LOAS config There might be multiple LOAS config in a row in a full frame. The first one might be a multi-layer config (which we can't properly parse yet)... but then followed by a valid (single-layer) one. The code was previously skipping whole frames (instead of just the LOAS config we failed to read) resulting in multiple frames (seen up to 6s in some situation) being dropped before finally getting the configuration.
Comment on attachment 316503 [details] [review] aacparse: Avoid over-skipping when checking LOAS config Makes sense, assuming that it's too difficult to just parse the size of the LOAS config. Note that skipping will cause the next buffer to be DISCONT iirc.
commit 6888871d2acf3d4b6f219685602464b56f87cea6 Author: Edward Hervey <edward@centricular.com> Date: Mon Nov 30 08:42:35 2015 +0100 aacparse: Avoid over-skipping when checking LOAS config There might be multiple LOAS config in a row in a full frame. The first one might be a multi-layer config (which we can't properly parse yet)... but then followed by a valid (single-layer) one. The code was previously skipping whole frames (instead of just the LOAS config we failed to read) resulting in multiple frames (seen up to 6s in some situation) being dropped before finally getting the configuration. https://bugzilla.gnome.org/show_bug.cgi?id=758826