summaryrefslogtreecommitdiffstats
path: root/gst/overlay/gstoverlay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/overlay/gstoverlay.c')
-rw-r--r--gst/overlay/gstoverlay.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/overlay/gstoverlay.c b/gst/overlay/gstoverlay.c
index f2c01b3f..fccd88b9 100644
--- a/gst/overlay/gstoverlay.c
+++ b/gst/overlay/gstoverlay.c
@@ -37,7 +37,7 @@ GST_STATIC_PAD_TEMPLATE (
"src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS (GST_VIDEO_YUV_PAD_TEMPLATE_CAPS("I420"))
+ GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV("I420"))
);
static GstStaticPadTemplate overlay_sink1_factory =
@@ -45,7 +45,7 @@ GST_STATIC_PAD_TEMPLATE (
"sink1",
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 GstStaticPadTemplate overlay_sink2_factory =
@@ -53,7 +53,7 @@ GST_STATIC_PAD_TEMPLATE (
"sink2",
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 GstStaticPadTemplate overlay_sink3_factory =
@@ -61,7 +61,7 @@ GST_STATIC_PAD_TEMPLATE (
"sink3",
GST_PAD_SINK,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS (GST_VIDEO_YUV_PAD_TEMPLATE_CAPS("I420"))
+ GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV("I420"))
);
/* OVERLAY signals and args */