Original commit message from CVS:
* ext/theora/theoradec.c: (theora_handle_type_packet):
gst_pad_push_event() does not return a GstFlowReturn!
+2007-05-09 Michael Smith <msmith@fluendo.com>
+
+ * ext/theora/theoradec.c: (theora_handle_type_packet):
+ gst_pad_push_event() does not return a GstFlowReturn!
+
2007-05-09 Wim Taymans <wim@fluendo.com>
* tests/examples/seek/scrubby.c: (stop_cb), (main):
GstCaps *caps;
gint par_num, par_den;
GstFlowReturn ret = GST_FLOW_OK;
+ gboolean eret;
GstEvent *event;
GST_DEBUG_OBJECT (dec, "fps %d/%d, PAR %d/%d",
dec->segment.rate, dec->segment.applied_rate,
dec->segment.format, dec->segment.start, dec->segment.stop,
dec->segment.time);
- ret = gst_pad_push_event (dec->srcpad, event);
+ eret = gst_pad_push_event (dec->srcpad, event);
+ if (!eret)
+ ret = GST_FLOW_ERROR;
dec->sent_newsegment = TRUE;
}