libs/gst/base/gstbasesrc.c: Send EOS event when stopping.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
Send EOS event when stopping.
This commit is contained in:
Tim-Philipp Müller 2006-02-06 14:57:40 +00:00
parent be8316429d
commit 1da556ed26
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
* libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
Send EOS event when stopping.
2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
* docs/README:

View file

@ -1720,6 +1720,7 @@ gst_base_src_change_state (GstElement * element, GstStateChange transition)
case GST_STATE_CHANGE_PAUSED_TO_READY:
if (!gst_base_src_stop (basesrc))
goto error_stop;
gst_pad_push_event (basesrc->srcpad, gst_event_new_eos ());
break;
case GST_STATE_CHANGE_READY_TO_NULL:
break;