Revert "aacparse: relax the detection of ADTS"
This was pushed by mistake along with the V4L2 fix. This reverts commit 8eb4b032bef444397c4d211f2095c173ba114187.
This commit is contained in:
parent
70be4fa24a
commit
2ad1f20e7b
@ -806,7 +806,7 @@ gst_aac_parse_detect_stream (GstAacParse * aacparse,
|
|||||||
gst_aac_parse_parse_adts_header (aacparse, data, &rate, &channels,
|
gst_aac_parse_parse_adts_header (aacparse, data, &rate, &channels,
|
||||||
&aacparse->object_type, &aacparse->mpegversion);
|
&aacparse->object_type, &aacparse->mpegversion);
|
||||||
|
|
||||||
if (!framesize) {
|
if (!channels || !framesize) {
|
||||||
GST_DEBUG_OBJECT (aacparse, "impossible ADTS configuration");
|
GST_DEBUG_OBJECT (aacparse, "impossible ADTS configuration");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user