summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-03-14 11:20:18 +0100
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-03-14 11:20:18 +0100
commitcb6b590b0c183ddea19959ede286ba215fd30839 (patch)
tree4fccc94bbf85db01541266b3405ec0cc6addc00b
parent5bbdeb321c1e1b869ead2fe5ccaafbc8e781e36e (diff)
downloadgstreamer-plugins-bad-cb6b590b0c183ddea19959ede286ba215fd30839.tar.gz
flite: adjust to some modified caps related API changes
-rw-r--r--ext/flite/gstflitetestsrc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/flite/gstflitetestsrc.c b/ext/flite/gstflitetestsrc.c
index 0c9118b9c..a08dcbb7f 100644
--- a/ext/flite/gstflitetestsrc.c
+++ b/ext/flite/gstflitetestsrc.c
@@ -104,7 +104,7 @@ static GstFlowReturn gst_flite_test_src_create (GstBaseSrc * basesrc,
guint64 offset, guint length, GstBuffer ** buffer);
static gboolean
gst_flite_test_src_set_caps (GstBaseSrc * basesrc, GstCaps * caps);
-static void gst_flite_test_src_fixate (GstBaseSrc * bsrc, GstCaps * caps);
+static GstCaps *gst_flite_test_src_fixate (GstBaseSrc * bsrc, GstCaps * caps);
static void
gst_flite_test_src_class_init (GstFliteTestSrcClass * klass)
@@ -171,7 +171,7 @@ n_bits_set (guint64 x)
return c;
}
-static void
+static GstCaps *
gst_flite_test_src_fixate (GstBaseSrc * bsrc, GstCaps * caps)
{
GstStructure *structure;
@@ -262,7 +262,7 @@ gst_flite_test_src_fixate (GstBaseSrc * bsrc, GstCaps * caps)
channel_mask, NULL);
}
- GST_BASE_SRC_CLASS (parent_class)->fixate (bsrc, caps);
+ return GST_BASE_SRC_CLASS (parent_class)->fixate (bsrc, caps);
}
static gboolean