qtmux: report new bits

This commit is contained in:
Wim Taymans 2011-10-06 12:26:33 +02:00
parent 586ef0babd
commit 94021224fc

View file

@ -2328,7 +2328,7 @@ again:
/* for computing the avg bitrate */
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;
}