mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
avdeinterlace: fix up output caps for new field as well
And presumably our output is always progressive and not interlaced any more?
This commit is contained in:
parent
ad04636c6e
commit
4e784f0d0e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue