summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-08-26 22:08:54 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-08-27 21:20:29 +0100
commit045c4b6ec80c469790afdb5e4126441841c98673 (patch)
treea4aa42ad27febebffd043d984ebc464a652cc3d9 /gst
parentd35fbcf6f1ee340b8ad643e5d5dec3992d507246 (diff)
deinterlace: the field in caps is "interlace-mode" not "interlace-method"
Fix deinterlace unit test. Need to set right field on output caps. Also remove right field (not old 0.10 "interlaced" boolean field) from caps in unit test before comparing old and new.
Diffstat (limited to 'gst')
-rw-r--r--gst/deinterlace/gstdeinterlace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c
index de4380880..a61af6691 100644
--- a/gst/deinterlace/gstdeinterlace.c
+++ b/gst/deinterlace/gstdeinterlace.c
@@ -2358,7 +2358,7 @@ gst_deinterlace_setcaps (GstDeinterlace * self, GstPad * pad, GstCaps * caps)
if (self->mode != GST_DEINTERLACE_MODE_DISABLED) {
srccaps = gst_caps_make_writable (srccaps);
- gst_caps_set_simple (srccaps, "interlace-method", G_TYPE_STRING,
+ gst_caps_set_simple (srccaps, "interlace-mode", G_TYPE_STRING,
"progressive", NULL);
}