projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a01c496
)
baseparse: don't reset the disable-passthrough property value
author
Matthew Waters
<matthew@centricular.com>
Wed, 20 Mar 2019 06:43:02 +0000
(17:43 +1100)
committer
Matthew Waters
<matthew@centricular.com>
Wed, 20 Mar 2019 06:44:30 +0000
(17:44 +1100)
Resetting as a result of _reset() on PAUSED->READY is unexpected.
libs/gst/base/gstbaseparse.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbaseparse.c
b/libs/gst/base/gstbaseparse.c
index
53baa1e
..
ce68956
100644
(file)
--- a/
libs/gst/base/gstbaseparse.c
+++ b/
libs/gst/base/gstbaseparse.c
@@
-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;