qtmux: output the correct limits in error messages

Having the current bytes being less than the limit was confusing!

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/732>
This commit is contained in:
Matthew Waters 2020-09-28 15:36:00 +10:00
parent e81ce6f2d7
commit 7736a21659

View file

@ -2357,7 +2357,7 @@ too_small_reserved:
GST_ELEMENT_ERROR (qtmux, STREAM, MUX,
("Not enough free reserved header space"),
("Needed %" G_GUINT64_FORMAT " bytes, reserved %" G_GUINT64_FORMAT,
offset, padded_moov_size));
offset + 8, padded_moov_size));
return GST_FLOW_ERROR;
}
serialize_error: