summaryrefslogtreecommitdiff
path: root/gst/effectv/gstrev.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/effectv/gstrev.c')
-rw-r--r--gst/effectv/gstrev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/effectv/gstrev.c b/gst/effectv/gstrev.c
index 0060f4101..bca245d21 100644
--- a/gst/effectv/gstrev.c
+++ b/gst/effectv/gstrev.c
@@ -183,14 +183,14 @@ gst_revtv_class_init (GstRevTVClass * klass)
}
static GstPadLinkReturn
-gst_revtv_sinkconnect (GstPad * pad, const GstCaps2 * caps)
+gst_revtv_sinkconnect (GstPad * pad, const GstCaps * caps)
{
GstRevTV *filter;
GstStructure *structure;
filter = GST_REVTV (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);