mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
gst/elements/gstfakesrc.c: Set element to EOS before sending EOS event
Original commit message from CVS: 2004-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org> * gst/elements/gstfakesrc.c: (gst_fakesrc_get): Set element to EOS before sending EOS event
This commit is contained in:
parent
b2db2cd1c8
commit
852fb1eaf2
3 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||
|
||||
* gst/elements/gstfakesrc.c: (gst_fakesrc_get):
|
||||
Set element to EOS before sending EOS event
|
||||
|
||||
2004-10-08 Wim Taymans <wim at fluendo dot com>
|
||||
|
||||
* gst/elements/gsttypefindelement.c:
|
||||
|
|
|
@ -827,6 +827,7 @@ gst_fakesrc_get (GstPad * pad)
|
|||
|
||||
if (src->eos) {
|
||||
GST_INFO ("fakesrc is setting eos on pad");
|
||||
gst_element_set_eos (GST_ELEMENT (src));
|
||||
return GST_DATA (gst_event_new (GST_EVENT_EOS));
|
||||
}
|
||||
|
||||
|
|
|
@ -827,6 +827,7 @@ gst_fakesrc_get (GstPad * pad)
|
|||
|
||||
if (src->eos) {
|
||||
GST_INFO ("fakesrc is setting eos on pad");
|
||||
gst_element_set_eos (GST_ELEMENT (src));
|
||||
return GST_DATA (gst_event_new (GST_EVENT_EOS));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue