summaryrefslogtreecommitdiff
path: root/gst/effectv/gstdice.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/effectv/gstdice.c')
-rw-r--r--gst/effectv/gstdice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/effectv/gstdice.c b/gst/effectv/gstdice.c
index bfb87c809..c2c2de73f 100644
--- a/gst/effectv/gstdice.c
+++ b/gst/effectv/gstdice.c
@@ -171,14 +171,14 @@ gst_dicetv_class_init (GstDiceTVClass * klass)
}
static GstPadLinkReturn
-gst_dicetv_sinkconnect (GstPad * pad, const GstCaps2 * caps)
+gst_dicetv_sinkconnect (GstPad * pad, const GstCaps * caps)
{
GstDiceTV *filter;
GstStructure *structure;
filter = GST_DICETV (gst_pad_get_parent (pad));
- structure = gst_caps2_get_nth_cap (caps, 0);
+ structure = gst_caps_get_structure (caps, 0);
gst_structure_get_int (structure, "width", &filter->width);
gst_structure_get_int (structure, "height", &filter->height);