[Bug 783583] New: aacparse: wrong src caps profile for ADIF format aac clips
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jun 9 09:13:18 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=783583
Bug ID: 783583
Summary: aacparse: wrong src caps profile for ADIF format aac
clips
Classification: Platform
Product: GStreamer
Version: 1.12.0
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: lyon.wang at nxp.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 353443
--> https://bugzilla.gnome.org/attachment.cgi?id=353443&action=edit
ADIF sample clip
When I am trying to play some ADIF aac clips with LC profile, and the src caps
output from aacparse is Main profile.
Checked the aacparse, for ADIF stream, the object_type is got as:
aacparse->object_type = ((adif[6 + skip_size] & 0x01) << 1) |
((adif[7 + skip_size] & 0x80) >> 7)
and in spec this object_type definition as below:
index object_type
0 AAC Main
1 AAC LC
2 AAC SSR
3 AAC LTP
in aacparse to determine the profile, code as below:
switch (profile) {
case 1:
return "main";
case 2:
return "lc";
case 3:
return "ssr";
case 4:
return "ltp";
default:
break;
}
So actually here, aacparse->object_type need plus 1 to determine the profile
(just as for ADTS stream.)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list