mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
asfdemux: set caps on src pad before adding it
This commit is contained in:
parent
96030c3b09
commit
712188f26b
1 changed files with 1 additions and 1 deletions
|
@ -2319,8 +2319,8 @@ gst_asf_demux_activate_stream (GstASFDemux * demux, AsfStream * stream)
|
|||
GST_INFO_OBJECT (demux, "Activating stream %2u, pad %s, caps %"
|
||||
GST_PTR_FORMAT, stream->id, GST_PAD_NAME (stream->pad), stream->caps);
|
||||
gst_pad_set_active (stream->pad, TRUE);
|
||||
gst_element_add_pad (GST_ELEMENT_CAST (demux), stream->pad);
|
||||
gst_pad_set_caps (stream->pad, stream->caps);
|
||||
gst_element_add_pad (GST_ELEMENT_CAST (demux), stream->pad);
|
||||
stream->active = TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue