summaryrefslogtreecommitdiffstats
path: root/gst/y4m
diff options
context:
space:
mode:
Diffstat (limited to 'gst/y4m')
-rw-r--r--gst/y4m/gsty4mencode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/y4m/gsty4mencode.c b/gst/y4m/gsty4mencode.c
index f45cf109..d27ff613 100644
--- a/gst/y4m/gsty4mencode.c
+++ b/gst/y4m/gsty4mencode.c
@@ -59,7 +59,7 @@ GST_STATIC_PAD_TEMPLATE (
"sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS (GST_VIDEO_YUV_PAD_TEMPLATE_CAPS ("I420"))
+ GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("I420"))
);
static void gst_y4mencode_base_init (gpointer g_class);