[0.11] gst-plugins-good: qtmux: report new bits

Wim Taymans wtay at kemper.freedesktop.org
Thu Oct 6 03:26:48 PDT 2011


Module: gst-plugins-good
Branch: 0.11
Commit: 94021224fc797187b85411acc696c65b8d132528
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=94021224fc797187b85411acc696c65b8d132528

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Thu Oct  6 12:26:33 2011 +0200

qtmux: report new bits

---

 gst/isomp4/gstqtmux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c
index cdbaf18..d521070 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;
   }
 



More information about the gstreamer-commits mailing list