mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
plugins/elements/gsttypefindelement.c: 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the object method ...
Original commit message from CVS: * plugins/elements/gsttypefindelement.c: (gst_type_find_element_class_init): 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the object method handler that sets the caps on the pad and we want that to happen before we emit the signal (fixes e.g. feeding a plain text file to decodebin).
This commit is contained in:
parent
e7021f7395
commit
ab34eeb94e
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* plugins/elements/gsttypefindelement.c:
|
||||
(gst_type_find_element_class_init):
|
||||
'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
|
||||
object method handler that sets the caps on the pad and we want
|
||||
that to happen before we emit the signal (fixes e.g. feeding a
|
||||
plain text file to decodebin).
|
||||
|
||||
2006-01-18 Christian Schaller <Christian@fluendo.com>
|
||||
|
||||
* gst/gstplugin.c: Add MPL and Proprietary as license options
|
||||
|
|
|
@ -201,7 +201,7 @@ gst_type_find_element_class_init (GstTypeFindElementClass * typefind_class)
|
|||
* been found.
|
||||
*/
|
||||
gst_type_find_element_signals[HAVE_TYPE] = g_signal_new ("have_type",
|
||||
G_TYPE_FROM_CLASS (typefind_class), G_SIGNAL_RUN_LAST,
|
||||
G_TYPE_FROM_CLASS (typefind_class), G_SIGNAL_RUN_FIRST,
|
||||
G_STRUCT_OFFSET (GstTypeFindElementClass, have_type), NULL, NULL,
|
||||
gst_marshal_VOID__UINT_BOXED, G_TYPE_NONE, 2,
|
||||
G_TYPE_UINT, GST_TYPE_CAPS | G_SIGNAL_TYPE_STATIC_SCOPE);
|
||||
|
|
Loading…
Reference in a new issue