From: Jesper Larsen Date: Fri, 21 Oct 2016 13:40:47 +0000 (+0200) Subject: adapter: Fix mix-up between DTS and PTS X-Git-Tag: 1.10.4~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ae7f465a509c4cb905952ffd7e2ee7d2b68cfad;p=platform%2Fupstream%2Fgstreamer.git adapter: Fix mix-up between DTS and PTS https://bugzilla.gnome.org/show_bug.cgi?id=773319 --- diff --git a/libs/gst/base/gstadapter.c b/libs/gst/base/gstadapter.c index 079a2b5..fd71195 100644 --- a/libs/gst/base/gstadapter.c +++ b/libs/gst/base/gstadapter.c @@ -1568,7 +1568,7 @@ gst_adapter_prev_pts_at_offset (GstAdapter * adapter, gsize offset, } if (distance) - *distance = adapter->dts_distance + offset; + *distance = adapter->pts_distance + offset; return pts; }