mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
Return the correct values from chain function
Original commit message from CVS: Return the correct values from chain function
This commit is contained in:
parent
e461b101d7
commit
0f5b17ead6
2 changed files with 12 additions and 7 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2005-09-01 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
|
* 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 <msmith@fluendo.com>
|
2005-08-31 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset),
|
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset),
|
||||||
|
|
|
@ -428,8 +428,7 @@ gst_dvdlpcmdec_chain_raw (GstPad * pad, GstBuffer * buf)
|
||||||
|
|
||||||
update_timestamps (dvdlpcmdec, buf, samples);
|
update_timestamps (dvdlpcmdec, buf, samples);
|
||||||
|
|
||||||
gst_pad_push (dvdlpcmdec->srcpad, buf);
|
return gst_pad_push (dvdlpcmdec->srcpad, buf);
|
||||||
return GST_FLOW_OK;
|
|
||||||
}
|
}
|
||||||
case 20:
|
case 20:
|
||||||
{
|
{
|
||||||
|
@ -479,8 +478,7 @@ gst_dvdlpcmdec_chain_raw (GstPad * pad, GstBuffer * buf)
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
gst_pad_push (dvdlpcmdec->srcpad, outbuf);
|
return gst_pad_push (dvdlpcmdec->srcpad, outbuf);
|
||||||
return GST_FLOW_OK;
|
|
||||||
}
|
}
|
||||||
case 24:
|
case 24:
|
||||||
{
|
{
|
||||||
|
@ -517,12 +515,11 @@ gst_dvdlpcmdec_chain_raw (GstPad * pad, GstBuffer * buf)
|
||||||
src += 12;
|
src += 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_pad_push (dvdlpcmdec->srcpad, buf);
|
return gst_pad_push (dvdlpcmdec->srcpad, buf);
|
||||||
return GST_FLOW_OK;
|
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
GST_ELEMENT_ERROR (dvdlpcmdec, STREAM, WRONG_TYPE, (NULL),
|
GST_ELEMENT_ERROR (dvdlpcmdec, STREAM, WRONG_TYPE, (NULL),
|
||||||
("Invalid sample width configured"));
|
("Invalid sample width configured: %d", dvdlpcmdec->width));
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue