qtmux: report new bits
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 6 Oct 2011 10:26:33 +0000 (12:26 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 6 Oct 2011 10:26:33 +0000 (12:26 +0200)
gst/isomp4/gstqtmux.c

index cdbaf18..d521070 100644 (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;
   }