mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
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:
parent
be8316429d
commit
1da556ed26
2 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue