summaryrefslogtreecommitdiffstats
path: root/ext/jpeg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/jpeg')
-rw-r--r--ext/jpeg/gstjpegdec.c2
-rw-r--r--ext/jpeg/gstjpegenc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c
index 1598f008..92939321 100644
--- a/ext/jpeg/gstjpegdec.c
+++ b/ext/jpeg/gstjpegdec.c
@@ -93,7 +93,7 @@ jpeg_caps_factory (void)
static GstCaps*
raw_caps_factory (void)
{
- return gst_caps_from_string (GST_VIDEO_YUV_PAD_TEMPLATE_CAPS ("I420"));
+ return gst_caps_from_string (GST_VIDEO_CAPS_YUV ("I420"));
}
static void
diff --git a/ext/jpeg/gstjpegenc.c b/ext/jpeg/gstjpegenc.c
index 853e09eb..e9644ffc 100644
--- a/ext/jpeg/gstjpegenc.c
+++ b/ext/jpeg/gstjpegenc.c
@@ -94,7 +94,7 @@ jpeg_caps_factory (void)
static GstCaps*
raw_caps_factory (void)
{
- return gst_caps_from_string (GST_VIDEO_YUV_PAD_TEMPLATE_CAPS ("I420"));
+ return gst_caps_from_string (GST_VIDEO_CAPS_YUV ("I420"));
}
static void