reqwesthttpsrc: Fix debug output for received chunks

This commit is contained in:
Sebastian Dröge 2019-09-30 11:00:07 +03:00
parent fecf4bac2e
commit 6888b08db2

View file

@ -725,7 +725,7 @@ impl BaseSrcImpl for ReqwestHttpSrc {
Ok((Some(chunk), current_body)) => {
/* do something with the chunk and store the body again in the state */
gst_debug!(cat, obj: src, "Data Received {:?}", chunk);
gst_debug!(cat, obj: src, "Chunk of {} bytes received", chunk.len());
let size = chunk.len();
assert_ne!(chunk.len(), 0);