mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
libs/gst/base/gstbasetransform.c: Make basetransform reusable. (Closes #331898)
Original commit message from CVS: * libs/gst/base/gstbasetransform.c: (gst_base_transform_change_state): Make basetransform reusable. (Closes #331898) ------------------------------------------------------
This commit is contained in:
parent
a54323429c
commit
2c04844949
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-02-20 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* libs/gst/base/gstbasetransform.c:
|
||||
(gst_base_transform_change_state): Make basetransform reusable.
|
||||
(Closes #331898)
|
||||
|
||||
2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* docs/random/release:
|
||||
|
|
|
@ -1413,6 +1413,12 @@ gst_base_transform_change_state (GstElement * element,
|
|||
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
|
||||
break;
|
||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
trans->have_same_caps = FALSE;
|
||||
/* We can only reset the passthrough mode if the instance told us to
|
||||
handle it in configure_caps */
|
||||
if (trans->passthrough_on_same_caps) {
|
||||
gst_base_transform_set_passthrough (trans, FALSE);
|
||||
}
|
||||
gst_caps_replace (&trans->cache_caps1, NULL);
|
||||
gst_caps_replace (&trans->cache_caps2, NULL);
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue