adapter: Fix mix-up between DTS and PTS

https://bugzilla.gnome.org/show_bug.cgi?id=773319
This commit is contained in:
Jesper Larsen 2016-10-21 15:40:47 +02:00 committed by Sebastian Dröge
parent cfdb97a135
commit 9ae7f465a5

View file

@ -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;
}