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:
Wim Taymans 2006-08-14 07:44:14 +00:00
parent 3254e4d752
commit f85c2fd84d
2 changed files with 6 additions and 1 deletions

View file

@ -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:

View file

@ -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: