gst-plugins-rs/mux/mp4
Sebastian Dröge e344585d99 mp4mux: Adjust durations and possibly stream start time on encountering a gap buffer
If there was a previous sample in this stream then its duration needs to
be extended by the gap position, and if there was none then the start
time of the whole stream has to be shifted by the duration.

Not doing so causes timestamps to be offset wrongly by the duration of
the gap.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1015>
2022-12-16 13:24:21 +02:00
..
src mp4mux: Adjust durations and possibly stream start time on encountering a gap buffer 2022-12-16 13:24:21 +02:00
tests mp4: Remove unneeded cast in tests 2022-11-10 12:44:46 +02:00
build.rs gst-plugin-mp4: Add new MP4 plugin with a non-fragmented MP4 muxer 2022-11-08 19:08:47 +02:00
Cargo.toml mux/{mp4, fmp4}: Hard depend on feature v1_18 2022-11-29 21:06:12 +02:00
LICENSE gst-plugin-mp4: Add new MP4 plugin with a non-fragmented MP4 muxer 2022-11-08 19:08:47 +02:00