mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
Revert "collectpads: Assume PTS is equal DTS if PTS is missing"
This reverts commit 9b0d42ceec
.
https://bugzilla.gnome.org/show_bug.cgi?id=762207
This commit is contained in:
parent
3fc8a334b7
commit
eab0e76268
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue