mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 01:54:11 +00:00
fix interlace-mode
This commit is contained in:
parent
7c99d37ad6
commit
8fd4a75f47
1 changed files with 2 additions and 2 deletions
|
@ -1491,8 +1491,8 @@ gst_asf_demux_push_complete_payloads (GstASFDemux * demux, gboolean force)
|
|||
payload->interlaced);
|
||||
stream->interlaced = payload->interlaced;
|
||||
stream->caps = gst_caps_make_writable (stream->caps);
|
||||
gst_caps_set_simple (stream->caps, "interlaced", G_TYPE_BOOLEAN,
|
||||
stream->interlaced, NULL);
|
||||
gst_caps_set_simple (stream->caps, "interlace-mode", G_TYPE_BOOLEAN,
|
||||
(stream->interlaced ? "mixed" : "progressive"), NULL);
|
||||
gst_pad_set_caps (stream->pad, stream->caps);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue