summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/chart/gstchart.c2
-rw-r--r--gst/deinterlace/gstdeinterlace.c4
-rw-r--r--gst/flx/gstflxdec.c4
-rw-r--r--gst/overlay/gstoverlay.c8
-rw-r--r--gst/smooth/gstsmooth.c4
-rw-r--r--gst/smpte/gstsmpte.c6
-rw-r--r--gst/videocrop/gstvideocrop.c4
-rw-r--r--gst/videodrop/gstvideodrop.c4
-rw-r--r--gst/y4m/gsty4mencode.c2
9 files changed, 19 insertions, 19 deletions
diff --git a/gst/chart/gstchart.c b/gst/chart/gstchart.c
index 329b672e..cafc1416 100644
--- a/gst/chart/gstchart.c
+++ b/gst/chart/gstchart.c
@@ -85,7 +85,7 @@ GST_STATIC_PAD_TEMPLATE (
"src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ( GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_16)
+ GST_STATIC_CAPS ( GST_VIDEO_CAPS_RGB_16)
);
static GstStaticPadTemplate sink_factory =
diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c
index 605eb3f6..31cc7a9d 100644
--- a/gst/deinterlace/gstdeinterlace.c
+++ b/gst/deinterlace/gstdeinterlace.c
@@ -55,7 +55,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 deinterlace_sink_factory =
@@ -63,7 +63,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 GType gst_deinterlace_get_type (void);
diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c
index ca893394..a8269ef6 100644
--- a/gst/flx/gstflxdec.c
+++ b/gst/flx/gstflxdec.c
@@ -61,7 +61,7 @@ GST_STATIC_PAD_TEMPLATE (
"src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ( GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_32 )
+ GST_STATIC_CAPS ( GST_VIDEO_CAPS_xRGB_HOST_ENDIAN )
);
@@ -484,7 +484,7 @@ gst_flxdec_loop (GstElement *element)
flxdec->frame_time = flxh->speed * GST_MSECOND;
}
- caps = gst_caps_from_string (GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_32);
+ caps = gst_caps_from_string (GST_VIDEO_CAPS_xRGB_HOST_ENDIAN);
gst_caps_set_simple (caps,
"width", G_TYPE_INT, flxh->width,
"height", G_TYPE_INT, flxh->height,
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 */
diff --git a/gst/smooth/gstsmooth.c b/gst/smooth/gstsmooth.c
index 6e38fe86..286786e8 100644
--- a/gst/smooth/gstsmooth.c
+++ b/gst/smooth/gstsmooth.c
@@ -53,7 +53,7 @@ GST_STATIC_PAD_TEMPLATE (
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (
- GST_VIDEO_YUV_PAD_TEMPLATE_CAPS("I420")
+ GST_VIDEO_CAPS_YUV("I420")
)
);
@@ -63,7 +63,7 @@ GST_STATIC_PAD_TEMPLATE (
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (
- GST_VIDEO_YUV_PAD_TEMPLATE_CAPS("I420")
+ GST_VIDEO_CAPS_YUV("I420")
)
);
diff --git a/gst/smpte/gstsmpte.c b/gst/smpte/gstsmpte.c
index fffc4caa..ea17dc8c 100644
--- a/gst/smpte/gstsmpte.c
+++ b/gst/smpte/gstsmpte.c
@@ -39,7 +39,7 @@ GST_STATIC_PAD_TEMPLATE (
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (
- GST_VIDEO_YUV_PAD_TEMPLATE_CAPS("I420")
+ GST_VIDEO_CAPS_YUV("I420")
)
);
@@ -49,7 +49,7 @@ GST_STATIC_PAD_TEMPLATE (
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (
- GST_VIDEO_YUV_PAD_TEMPLATE_CAPS("I420")
+ GST_VIDEO_CAPS_YUV("I420")
)
);
@@ -59,7 +59,7 @@ GST_STATIC_PAD_TEMPLATE (
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (
- GST_VIDEO_YUV_PAD_TEMPLATE_CAPS("I420")
+ GST_VIDEO_CAPS_YUV("I420")
)
);
diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c
index ab975a23..6a90b5b3 100644
--- a/gst/videocrop/gstvideocrop.c
+++ b/gst/videocrop/gstvideocrop.c
@@ -85,7 +85,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 gst_video_crop_sink_template =
@@ -93,7 +93,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"))
);
diff --git a/gst/videodrop/gstvideodrop.c b/gst/videodrop/gstvideodrop.c
index e3dd45a7..b72e4252 100644
--- a/gst/videodrop/gstvideodrop.c
+++ b/gst/videodrop/gstvideodrop.c
@@ -50,7 +50,7 @@ GST_STATIC_PAD_TEMPLATE (
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS(
- GST_VIDEO_YUV_PAD_TEMPLATE_CAPS("{ YUY2, I420, YV12, YUYV, UYVY }")
+ GST_VIDEO_CAPS_YUV("{ YUY2, I420, YV12, YUYV, UYVY }")
)
);
@@ -60,7 +60,7 @@ GST_STATIC_PAD_TEMPLATE (
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS(
- GST_VIDEO_YUV_PAD_TEMPLATE_CAPS("{ YUY2, I420, YV12, YUYV, UYVY }")
+ GST_VIDEO_CAPS_YUV("{ YUY2, I420, YV12, YUYV, UYVY }")
)
);
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);