Commit 9b733917 authored by Michael Smith's avatar Michael Smith

ext/theora/theoradec.c: gst_pad_push_event() does not return a GstFlowReturn!

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_handle_type_packet):
gst_pad_push_event() does not return a GstFlowReturn!
parent a8e8bb44
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):
......@@ -771,6 +771,7 @@ theora_handle_type_packet (GstTheoraDec * dec, ogg_packet * packet)
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",
......@@ -845,7 +846,9 @@ theora_handle_type_packet (GstTheoraDec * dec, ogg_packet * packet)
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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment