mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 10:31:05 +00:00
parent
f528f62b53
commit
1912c86946
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue