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:
Zaheer Abbas Merali 2004-10-09 12:43:26 +00:00
parent b2db2cd1c8
commit 852fb1eaf2
3 changed files with 7 additions and 0 deletions

View file

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

View file

@ -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));
}

View file

@ -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));
}