mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
typefind: require bytes before typefinding
Require that we have some bytes in the adapter before we attempt to typefind. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680479
This commit is contained in:
parent
d06885101e
commit
a1f1bbd363
1 changed files with 1 additions and 1 deletions
|
@ -864,7 +864,7 @@ gst_type_find_element_chain_do_typefinding (GstTypeFindElement * typefind,
|
|||
have_min = avail >= TYPE_FIND_MIN_SIZE;
|
||||
have_max = avail >= TYPE_FIND_MAX_SIZE;
|
||||
} else {
|
||||
have_min = TRUE;
|
||||
have_min = avail > 0;
|
||||
have_max = TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue