mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
Set the typefind plugin to READY so that it can do capsnego.
Original commit message from CVS: Set the typefind plugin to READY so that it can do capsnego.
This commit is contained in:
parent
26042c9fee
commit
ee06d65064
1 changed files with 2 additions and 0 deletions
|
@ -215,6 +215,8 @@ gst_avi_decoder_new_pad (GstElement *element, GstPad *pad, GstAviDecoder *avi_de
|
||||||
type = gst_elementfactory_make ("avitypes",
|
type = gst_elementfactory_make ("avitypes",
|
||||||
g_strdup_printf ("typeconvert%d", avi_decoder->count));
|
g_strdup_printf ("typeconvert%d", avi_decoder->count));
|
||||||
|
|
||||||
|
gst_element_set_state (type, GST_STATE_READY);
|
||||||
|
|
||||||
gst_pad_connect (pad, gst_element_get_pad (type, "sink"));
|
gst_pad_connect (pad, gst_element_get_pad (type, "sink"));
|
||||||
type_found = gst_util_get_bool_arg (G_OBJECT (type), "type_found");
|
type_found = gst_util_get_bool_arg (G_OBJECT (type), "type_found");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue