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:
Mark Nauwelaerts 2011-03-10 16:03:58 +01:00 committed by Tim-Philipp Müller
parent 31c26a4551
commit a4fad64141

View file

@ -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 ?