mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
661ba7feb7
commit
a8e66eca9e
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ gst_typefind_chain (GstPad *pad, GstBuffer *buf)
|
||||||
typefind->caps = caps;
|
typefind->caps = caps;
|
||||||
gtk_signal_emit (GTK_OBJECT (typefind), gst_typefind_signals[HAVE_TYPE],
|
gtk_signal_emit (GTK_OBJECT (typefind), gst_typefind_signals[HAVE_TYPE],
|
||||||
typefind->caps);
|
typefind->caps);
|
||||||
|
gst_pad_set_caps (pad, caps);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
funcs = g_slist_next (funcs);
|
funcs = g_slist_next (funcs);
|
||||||
|
|
Loading…
Reference in a new issue