projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5240b74
)
mp4mux: in faststart mode, don't output up to 4 kB of garbage at the end.
author
Michael Smith
<msmith@rdio.com>
Wed, 20 Mar 2013 01:09:31 +0000
(18:09 -0700)
committer
Michael Smith
<msmith@rdio.com>
Wed, 20 Mar 2013 01:09:31 +0000
(18:09 -0700)
gst/isomp4/gstqtmux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/gstqtmux.c
b/gst/isomp4/gstqtmux.c
index
940bb48
..
b35aaec
100644
(file)
--- a/
gst/isomp4/gstqtmux.c
+++ b/
gst/isomp4/gstqtmux.c
@@
-1280,9
+1280,10
@@
gst_qt_mux_send_buffered_data (GstQTMux * qtmux, guint64 * offset)
gst_buffer_unmap (buf, &map);
break;
}
- GST_LOG_OBJECT (qtmux, "Pushing buffered buffer of size %d",
- (gint) map.size);
+ GST_LOG_OBJECT (qtmux, "Pushing buffered buffer of size %d", (gint) size);
gst_buffer_unmap (buf, &map);
+ if (size != bufsize)
+ gst_buffer_set_size (buf, size);
ret = gst_qt_mux_send_buffer (qtmux, buf, offset, FALSE);
buf = NULL;
}