baseparse: don't reset the disable-passthrough property value

Resetting as a result of _reset() on PAUSED->READY is unexpected.
This commit is contained in:
Matthew Waters 2019-03-20 17:43:02 +11:00
parent a01c4965de
commit b8d00b9e6e

View file

@ -642,6 +642,7 @@ gst_base_parse_init (GstBaseParse * parse, GstBaseParseClass * bclass)
parse->priv->upstream_tags = NULL;
parse->priv->parser_tags = NULL;
parse->priv->parser_tags_merge_mode = GST_TAG_MERGE_APPEND;
parse->priv->disable_passthrough = DEFAULT_DISABLE_PASSTHROUGH;
}
static void
@ -833,7 +834,6 @@ gst_base_parse_reset (GstBaseParse * parse)
parse->priv->next_pts = GST_CLOCK_TIME_NONE;
parse->priv->next_dts = 0;
parse->priv->syncable = TRUE;
parse->priv->disable_passthrough = DEFAULT_DISABLE_PASSTHROUGH;
parse->priv->passthrough = FALSE;
parse->priv->pts_interpolate = TRUE;
parse->priv->infer_ts = TRUE;