mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
qtmux: report new bits
This commit is contained in:
parent
586ef0babd
commit
94021224fc
1 changed files with 1 additions and 1 deletions
|
@ -2328,7 +2328,7 @@ again:
|
||||||
|
|
||||||
/* for computing the avg bitrate */
|
/* for computing the avg bitrate */
|
||||||
if (G_LIKELY (last_buf)) {
|
if (G_LIKELY (last_buf)) {
|
||||||
pad->total_bytes += GST_BUFFER_SIZE (last_buf);
|
pad->total_bytes += gst_buffer_get_size (last_buf);
|
||||||
pad->total_duration += duration;
|
pad->total_duration += duration;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue