aacparse: not so greedy minimum frame size

Fixes #653559.
This commit is contained in:
Jonas Larsson 2011-06-28 12:26:37 +02:00 committed by Mark Nauwelaerts
parent f528f62b53
commit 1912c86946

View file

@ -611,7 +611,8 @@ gst_aac_parse_check_valid_frame (GstBaseParse * parse,
} else { } else {
GST_DEBUG ("buffer didn't contain valid frame"); GST_DEBUG ("buffer didn't contain valid frame");
gst_base_parse_set_min_frame_size (GST_BASE_PARSE (aacparse), 1024); gst_base_parse_set_min_frame_size (GST_BASE_PARSE (aacparse),
ADTS_MAX_SIZE);
} }
return ret; return ret;
@ -696,7 +697,7 @@ gst_aac_parse_start (GstBaseParse * parse)
aacparse = GST_AAC_PARSE (parse); aacparse = GST_AAC_PARSE (parse);
GST_DEBUG ("start"); GST_DEBUG ("start");
gst_base_parse_set_min_frame_size (GST_BASE_PARSE (aacparse), 1024); gst_base_parse_set_min_frame_size (GST_BASE_PARSE (aacparse), ADTS_MAX_SIZE);
return TRUE; return TRUE;
} }