mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
flacparse: sync baseparse (some more)
This commit is contained in:
parent
27efe0067c
commit
1f9525d821
1 changed files with 6 additions and 0 deletions
|
@ -1026,6 +1026,12 @@ gst_base_parse_chain (GstPad * pad, GstBuffer * buffer)
|
|||
|
||||
skip = -1;
|
||||
if (bclass->check_valid_frame (parse, tmpbuf, &fsize, &skip)) {
|
||||
if (gst_adapter_available (parse->adapter) < fsize) {
|
||||
GST_DEBUG_OBJECT (parse,
|
||||
"found valid frame but not enough data available (only %d bytes)",
|
||||
gst_adapter_available (parse->adapter));
|
||||
goto done;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (skip > 0) {
|
||||
|
|
Loading…
Reference in a new issue