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:
Wim Taymans 2002-01-20 11:56:07 +00:00
parent 26042c9fee
commit ee06d65064

View file

@ -215,6 +215,8 @@ gst_avi_decoder_new_pad (GstElement *element, GstPad *pad, GstAviDecoder *avi_de
type = gst_elementfactory_make ("avitypes",
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"));
type_found = gst_util_get_bool_arg (G_OBJECT (type), "type_found");