qtmux: provide for PTS metadata when so configured
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 10 Mar 2011 15:03:58 +0000 (16:03 +0100)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 10 Mar 2011 16:06:31 +0000 (17:06 +0100)
... 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.

gst/qtmux/gstqtmux.c

index f66f65c..47f4f01 100644 (file)
@@ -2272,7 +2272,7 @@ again:
    *   buffer timestamps in case of multiple segment, non-perfect streams
    *  (and just perhaps maybe with some luck segment_to_running_time
    *   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;
 
     pts = qtmux->dts_method == DTS_METHOD_REORDER ?