mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
libs/gst/base/gstbasesrc.c: If the parent state change function failed, don't assume we can safely stop the source, t...
Original commit message from CVS: * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state): If the parent state change function failed, don't assume we can safely stop the source, this will be done when the pads are deactivated.
This commit is contained in:
parent
3254e4d752
commit
f85c2fd84d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-08-14 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
|
||||||
|
If the parent state change function failed, don't assume we can safely
|
||||||
|
stop the source, this will be done when the pads are deactivated.
|
||||||
|
|
||||||
2006-08-14 Wim Taymans <wim@fluendo.com>
|
2006-08-14 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/gstbuffer.c:
|
* gst/gstbuffer.c:
|
||||||
|
|
|
@ -2018,7 +2018,6 @@ gst_base_src_change_state (GstElement * element, GstStateChange transition)
|
||||||
failure:
|
failure:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (basesrc, "parent failed state change");
|
GST_DEBUG_OBJECT (basesrc, "parent failed state change");
|
||||||
gst_base_src_stop (basesrc);
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
error_stop:
|
error_stop:
|
||||||
|
|
Loading…
Reference in a new issue