diff --git a/ChangeLog b/ChangeLog index b8e20df7ab..b5832539bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-09-01 Michael Smith + + * gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset), + (gst_dvdlpcmdec_init), (gst_dvdlpcmdec_setcaps), + (update_timestamps), (parse_header), (gst_dvdlpcmdec_chain_dvd), + (gst_dvdlpcmdec_chain_raw): + Return the correct values from chain function. + 2005-08-31 Michael Smith * gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset), diff --git a/gst/dvdlpcmdec/gstdvdlpcmdec.c b/gst/dvdlpcmdec/gstdvdlpcmdec.c index dc5b29cc43..cdc594ac9d 100644 --- a/gst/dvdlpcmdec/gstdvdlpcmdec.c +++ b/gst/dvdlpcmdec/gstdvdlpcmdec.c @@ -428,8 +428,7 @@ gst_dvdlpcmdec_chain_raw (GstPad * pad, GstBuffer * buf) update_timestamps (dvdlpcmdec, buf, samples); - gst_pad_push (dvdlpcmdec->srcpad, buf); - return GST_FLOW_OK; + return gst_pad_push (dvdlpcmdec->srcpad, buf); } case 20: { @@ -479,8 +478,7 @@ gst_dvdlpcmdec_chain_raw (GstPad * pad, GstBuffer * buf) } gst_buffer_unref (buf); - gst_pad_push (dvdlpcmdec->srcpad, outbuf); - return GST_FLOW_OK; + return gst_pad_push (dvdlpcmdec->srcpad, outbuf); } case 24: { @@ -517,12 +515,11 @@ gst_dvdlpcmdec_chain_raw (GstPad * pad, GstBuffer * buf) src += 12; } - gst_pad_push (dvdlpcmdec->srcpad, buf); - return GST_FLOW_OK; + return gst_pad_push (dvdlpcmdec->srcpad, buf); } default: GST_ELEMENT_ERROR (dvdlpcmdec, STREAM, WRONG_TYPE, (NULL), - ("Invalid sample width configured")); + ("Invalid sample width configured: %d", dvdlpcmdec->width)); gst_buffer_unref (buf); return GST_FLOW_ERROR; }