GNOME Bugzilla – Bug 745585
aacparse: LOAS parsing issue with malformed data
Last modified: 2015-03-06 18:02:10 UTC
Created attachment 298509 [details] [review] fix LOAS parsing issue patch In the function gst_aac_parse_detect_stream when parsing LOAS, the variable i is ignored at line 812. The expected duration for aac.gdp is about 5 min. Test command is: gst-launch-1.0 -v filesrc location=aac.gdp ! gdpdepay ! aacparse ! fakesink silent=false Without the patch the last buffer is: (fakesink0:sink) (330 bytes, dts: 0:02:20.272265074, pts: 0:02:20.570931736, duration: 0:00:00.042666666, offset: 900902, offset_end: -1, flags: 00000000 ) 0x75405b80 With the patch: (fakesink0:sink) (310 bytes, dts: 0:04:53.872265074, pts: 0:04:54.042931738, duration: 0:00:00.042666666, offset: 2029827, offset_end: -1, flags: 00000000 ) 0x75405d60
Created attachment 298512 [details] aac gdp file The duration is 4min only
The git master doesn't show this issue, perhaps you attached the wrong gdp file? Anyway your patch makes sense. Thanks for the fix. commit 5ead23a14a1b85e785d5ba0a3327764c6479afc9 Author: Nicolas Huet <nicolas.huet@parrot.com> Date: Wed Mar 4 10:27:17 2015 +0100 aacparse: fix LOAS parsing issue Fix missing index in syncword searching https://bugzilla.gnome.org/show_bug.cgi?id=745585
Also in 1.4 branch, will be available in the 1.4.6 release: Commit 327515a35f03d4a315dada57cb20c97e7071718c