diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2016-10-24 11:45:38 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2016-10-24 11:54:34 -0400 |
commit | eab0e76268c7cb3f97429d7892c2358daae38e21 (patch) | |
tree | a0ade47f48a279c8530ae5ce08691990d7f66814 | |
parent | 3fc8a334b79816b281f48cdb50bff8dd1e22fa94 (diff) |
Revert "collectpads: Assume PTS is equal DTS if PTS is missing"
This reverts commit 9b0d42ceecb3198399d7e05e3d5f080a7ca27ca9.
https://bugzilla.gnome.org/show_bug.cgi?id=762207
-rw-r--r-- | libs/gst/base/gstcollectpads.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/gst/base/gstcollectpads.c b/libs/gst/base/gstcollectpads.c index 4658ef3e1..a19edf340 100644 --- a/libs/gst/base/gstcollectpads.c +++ b/libs/gst/base/gstcollectpads.c @@ -515,12 +515,6 @@ gst_collect_pads_clip_running_time (GstCollectPads * pads, time = GST_BUFFER_PTS (buf); - /* If PTS is not set, the best guess we can make is to assume that both - * PTS and DTS are the same. If it was possible, parsers should have fixed - * it already as explained in https://bugzilla.gnome.org/show_bug.cgi?id=659489 */ - if (!GST_CLOCK_TIME_IS_VALID (time)) - time = GST_BUFFER_DTS (buf); - if (GST_CLOCK_TIME_IS_VALID (time)) { time = gst_segment_to_running_time (&cdata->segment, GST_FORMAT_TIME, time); |