From 94021224fc797187b85411acc696c65b8d132528 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 6 Oct 2011 12:26:33 +0200 Subject: [PATCH] qtmux: report new bits --- gst/isomp4/gstqtmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index cdbaf183ca..d521070311 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -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; }