mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
qtmux: provide for PTS metadata when so configured
... and not only when sort-of feeling like it. In any case, if it turns out all really is in order, and presumably DTS == PTS, then no ctts will be produced anyway.
This commit is contained in:
parent
31c26a4551
commit
a4fad64141
1 changed files with 1 additions and 1 deletions
|
@ -2272,7 +2272,7 @@ again:
|
||||||
* buffer timestamps in case of multiple segment, non-perfect streams
|
* buffer timestamps in case of multiple segment, non-perfect streams
|
||||||
* (and just perhaps maybe with some luck segment_to_running_time
|
* (and just perhaps maybe with some luck segment_to_running_time
|
||||||
* or segment_to_media_time might get near to it) */
|
* or segment_to_media_time might get near to it) */
|
||||||
if ((pad->have_dts || qtmux->guess_pts) && pad->is_out_of_order) {
|
if ((pad->have_dts || qtmux->guess_pts)) {
|
||||||
guint64 pts;
|
guint64 pts;
|
||||||
|
|
||||||
pts = qtmux->dts_method == DTS_METHOD_REORDER ?
|
pts = qtmux->dts_method == DTS_METHOD_REORDER ?
|
||||||
|
|
Loading…
Reference in a new issue