tee: Check for the removed pad flag also in the slow pushing path
[platform/upstream/gstreamer.git] / docs / random / signal
1 Random notes on signals:
2
3 * Use a BOXED (and not a POINTER) marshaller when your signal will have a 
4   GstBuffer argument:
5
6 g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
7               G_STRUCT_OFFSET (GstIdentityClass, handoff), NULL, NULL,
8               gst_marshal_VOID__BOXED, G_TYPE_NONE, 1,
9               GST_TYPE_BUFFER | G_SIGNAL_TYPE_STATIC_SCOPE);
10
11 * For GstBuffers arguments, consider using G_SIGNAL_TYPE_STATIC_SCOPE as it
12   can prevent an extra copy of the buffer