mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
mp4mux: in faststart mode, don't output up to 4 kB of garbage at the end.
This commit is contained in:
parent
5240b7453c
commit
b85c5f236b
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue