This will be incredible slow if the upstream block size is very small. Instead continue scanning for the header where we previously stopped. For the standard filesrc block-size this made decoding a file about 3 times faster. https://bugzilla.gnome.org/show_bug.cgi?id=719890