+ * gst_base_parse_set_pts_interpolation:
+ * @parse: a #GstBaseParse
+ * @passthrough: %TRUE if parser should interpolate PTS timestamps
+ *
+ * By default, the base class will guess PTS timestamps using a simple
+ * interpolation (previous timestamp + duration), which is incorrect for
+ * data streams with reordering, where PTS can go backward. Sub-classes
+ * implementing such formats should disable PTS interpolation.
+ */
+void
+gst_base_parse_set_pts_interpolation (GstBaseParse * parse,
+ gboolean pts_interpolate)
+{
+ parse->priv->pts_interpolate = pts_interpolate;
+ GST_INFO_OBJECT (parse, "PTS interpolation: %s",
+ (pts_interpolate) ? "yes" : "no");
+}
+
+/**