mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
1fd094d96b
Some buffers can have multiple moov atoms inside and the strategy of using the gst_adapter_prev_pts timestamp to get the base timestamp for the media of the fragment would fail as it would reuse the same base timestamp for all moofs in the buffer instead of accumulating the durations for all of them. Heres a better explanation of the issue: qtdemux receives a buffer where PTS(buf) = X buf -> moofA | moofB | moofC The problem was that PTS(buf) was used as the base timestamp for all 3 moofs, causing all buffers to be X based. In this case we want only moofA to be X based as it is what the PTS on buf means, and the other moofB and moofC just use the accumulated timestamp from the previous moofs durations. To solve this, this patch uses gst_adapter_prev_pts distance result, this allows qtdemux to calculate if it should use the resulting pts or just accumulate the samples as it can identify if the moofs belong to the same upstream buffer or not. https://bugzilla.gnome.org/show_bug.cgi?id=719783 |
||
---|---|---|
.. | ||
atoms.c | ||
atoms.h | ||
atomsrecovery.c | ||
atomsrecovery.h | ||
descriptors.c | ||
descriptors.h | ||
fourcc.h | ||
gstqtmoovrecover.c | ||
gstqtmoovrecover.h | ||
gstqtmux-doc.c | ||
gstqtmux-doc.h | ||
gstqtmux.c | ||
gstqtmux.h | ||
gstqtmuxmap.c | ||
gstqtmuxmap.h | ||
gstrtpxqtdepay.c | ||
gstrtpxqtdepay.h | ||
isomp4-plugin.c | ||
LEGAL | ||
Makefile.am | ||
properties.c | ||
properties.h | ||
qtatomparser.h | ||
qtdemux.c | ||
qtdemux.h | ||
qtdemux.vcproj | ||
qtdemux_dump.c | ||
qtdemux_dump.h | ||
qtdemux_lang.c | ||
qtdemux_lang.h | ||
qtdemux_types.c | ||
qtdemux_types.h | ||
qtpalette.h |