The typefind element now sets the caps on its sink pad when the type has been detected.

Original commit message from CVS:
The typefind element now sets the caps on its sink pad when the type
has been detected.
This commit is contained in:
Wim Taymans 2001-03-13 22:13:56 +00:00
parent 661ba7feb7
commit a8e66eca9e

View file

@ -184,6 +184,7 @@ gst_typefind_chain (GstPad *pad, GstBuffer *buf)
typefind->caps = caps;
gtk_signal_emit (GTK_OBJECT (typefind), gst_typefind_signals[HAVE_TYPE],
typefind->caps);
gst_pad_set_caps (pad, caps);
goto end;
}
funcs = g_slist_next (funcs);