Oops, ignore the result of gst_pad_push_event here.
authorJan Schmidt <thaytan@mad.scientist.com>
Mon, 18 Jul 2005 17:43:52 +0000 (17:43 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Mon, 18 Jul 2005 17:43:52 +0000 (17:43 +0000)
Original commit message from CVS:
Oops, ignore the result of gst_pad_push_event here.

ChangeLog
gst/base/gstbasesrc.c
libs/gst/base/gstbasesrc.c

index b52717d..09fd40b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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>
+
        * gst/base/gstbasesrc.c: (gst_base_src_loop),
        (gst_base_src_activate_push):
          Send discont event from the loop function, as pads
index 8502f89..d7b2b2f 100644 (file)
@@ -658,8 +658,7 @@ gst_base_src_loop (GstPad * pad)
 
   if (src->offset == 0) {
     /* now send discont */
-    if (!gst_base_src_send_discont (src))
-      goto eos;
+    gst_base_src_send_discont (src);
   }
 
   ret = gst_base_src_get_range (pad, src->offset, src->blocksize, &buf);
index 8502f89..d7b2b2f 100644 (file)
@@ -658,8 +658,7 @@ gst_base_src_loop (GstPad * pad)
 
   if (src->offset == 0) {
     /* now send discont */
-    if (!gst_base_src_send_discont (src))
-      goto eos;
+    gst_base_src_send_discont (src);
   }
 
   ret = gst_base_src_get_range (pad, src->offset, src->blocksize, &buf);