Oops, ignore the result of gst_pad_push_event here.

Original commit message from CVS:
Oops, ignore the result of gst_pad_push_event here.
This commit is contained in:
Jan Schmidt 2005-07-18 17:43:52 +00:00
parent 518e590f8b
commit 690e87b1fd
3 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
* gst/base/gstbasesrc.c: (gst_base_src_loop):
Oops, ignore the result of gst_pad_push_event here.
2005-07-19 Jan Schmidt <thaytan@mad.scientist.com> 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
* gst/base/gstbasesrc.c: (gst_base_src_loop), * gst/base/gstbasesrc.c: (gst_base_src_loop),

View file

@ -658,8 +658,7 @@ gst_base_src_loop (GstPad * pad)
if (src->offset == 0) { if (src->offset == 0) {
/* now send discont */ /* now send discont */
if (!gst_base_src_send_discont (src)) gst_base_src_send_discont (src);
goto eos;
} }
ret = gst_base_src_get_range (pad, src->offset, src->blocksize, &buf); ret = gst_base_src_get_range (pad, src->offset, src->blocksize, &buf);

View file

@ -658,8 +658,7 @@ gst_base_src_loop (GstPad * pad)
if (src->offset == 0) { if (src->offset == 0) {
/* now send discont */ /* now send discont */
if (!gst_base_src_send_discont (src)) gst_base_src_send_discont (src);
goto eos;
} }
ret = gst_base_src_get_range (pad, src->offset, src->blocksize, &buf); ret = gst_base_src_get_range (pad, src->offset, src->blocksize, &buf);