Commit 4e784f0d authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

avdeinterlace: fix up output caps for new field as well

And presumably our output is always progressive and not
interlaced any more?
parent ad04636c
......@@ -226,8 +226,8 @@ gst_ffmpegdeinterlace_sink_setcaps (GstPad * pad, GstCaps * caps)
deinterlace->height);
src_caps = gst_caps_copy (caps);
gst_caps_set_simple (src_caps, "interlaced", G_TYPE_BOOLEAN,
deinterlace->interlaced, NULL);
gst_caps_set_simple (src_caps, "interlace-mode", G_TYPE_STRING,
deinterlace->interlaced ? "progressive" : imode, NULL);
ret = gst_pad_set_caps (deinterlace->srcpad, src_caps);
gst_caps_unref (src_caps);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment