diff --git a/gst/dvdlpcmdec/gstdvdlpcmdec.c b/gst/dvdlpcmdec/gstdvdlpcmdec.c index 5d5c5f4ee7..7498646e2a 100644 --- a/gst/dvdlpcmdec/gstdvdlpcmdec.c +++ b/gst/dvdlpcmdec/gstdvdlpcmdec.c @@ -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; diff --git a/gst/iec958/ac3iec.c b/gst/iec958/ac3iec.c index 9fd8860101..a1404946cf 100644 --- a/gst/iec958/ac3iec.c +++ b/gst/iec958/ac3iec.c @@ -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));