mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gst/gstbin.c: When an element is in the locked state we still want to update the base_time of the element.
Original commit message from CVS: * gst/gstbin.c: (gst_bin_element_set_state): When an element is in the locked state we still want to update the base_time of the element.
This commit is contained in:
parent
f0ce6a40ad
commit
a6b1feccd0
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst/gstbin.c: (gst_bin_element_set_state):
|
||||
When an element is in the locked state we still want to update the
|
||||
base_time of the element.
|
||||
|
||||
2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit d70ca17ae6fbe6020996e4567275d5e14972ed45
|
||||
Subproject commit 8d494854a6018336a80ece82ceb3df0033e2da9c
|
|
@ -1868,6 +1868,9 @@ gst_bin_element_set_state (GstBin * bin, GstElement * element,
|
|||
gboolean locked;
|
||||
GList *found;
|
||||
|
||||
/* set base_time on child */
|
||||
gst_element_set_base_time (element, base_time);
|
||||
|
||||
/* peel off the locked flag */
|
||||
GST_OBJECT_LOCK (element);
|
||||
locked = GST_OBJECT_FLAG_IS_SET (element, GST_ELEMENT_LOCKED_STATE);
|
||||
|
@ -1923,9 +1926,6 @@ no_preroll:
|
|||
GST_ELEMENT_NAME (element), gst_element_state_get_name (next),
|
||||
GST_TIME_ARGS (base_time));
|
||||
|
||||
/* set base_time on child */
|
||||
gst_element_set_base_time (element, base_time);
|
||||
|
||||
/* change state */
|
||||
ret = gst_element_set_state (element, next);
|
||||
|
||||
|
|
Loading…
Reference in a new issue