From a8e66eca9edb298ea6a920e006df456cc67e8cd5 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 13 Mar 2001 22:13:56 +0000 Subject: [PATCH] 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. --- gst/gsttypefind.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/gsttypefind.c b/gst/gsttypefind.c index 279a2fe..78ac04c 100644 --- a/gst/gsttypefind.c +++ b/gst/gsttypefind.c @@ -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); -- 2.7.4