Fix return types in setcaps functions

Original commit message from CVS:
Fix return types in setcaps functions
This commit is contained in:
Michael Smith 2005-09-02 14:19:17 +00:00
parent 429158ad6e
commit f8882d36b5
2 changed files with 4 additions and 4 deletions

View file

@ -84,7 +84,7 @@ static GstFlowReturn gst_dvdlpcmdec_chain_raw (GstPad * pad,
GstBuffer * buffer);
static GstFlowReturn gst_dvdlpcmdec_chain_dvd (GstPad * pad,
GstBuffer * buffer);
static GstPadLinkReturn gst_dvdlpcmdec_setcaps (GstPad * pad, GstCaps * caps);
static gboolean gst_dvdlpcmdec_setcaps (GstPad * pad, GstCaps * caps);
static GstElementStateReturn gst_dvdlpcmdec_change_state (GstElement * element);
@ -175,7 +175,7 @@ gst_dvdlpcmdec_init (GstDvdLpcmDec * dvdlpcmdec)
gst_dvdlpcm_reset (dvdlpcmdec);
}
static GstPadLinkReturn
static gboolean
gst_dvdlpcmdec_setcaps (GstPad * pad, GstCaps * caps)
{
GstStructure *structure;

View file

@ -96,7 +96,7 @@ static void ac3iec_get_property (GObject * object,
static GstFlowReturn ac3iec_chain_dvd (GstPad * pad, GstBuffer * buf);
static GstFlowReturn ac3iec_chain_raw (GstPad * pad, GstBuffer * buf);
static GstPadLinkReturn ac3iec_setcaps (GstPad * pad, GstCaps * caps);
static gboolean ac3iec_setcaps (GstPad * pad, GstCaps * caps);
static GstElementStateReturn ac3iec_change_state (GstElement * element);
@ -193,7 +193,7 @@ ac3iec_finalize (GObject * object)
g_free (ac3iec->padder);
}
static GstPadLinkReturn
static gboolean
ac3iec_setcaps (GstPad * pad, GstCaps * caps)
{
AC3IEC *ac3iec = AC3IEC (gst_pad_get_parent (pad));