gstreamer_core/gst/gstbin.h
changeset 16 8e837d1bf446
parent 0 0e761a78d257
child 30 7e817e7e631c
equal deleted inserted replaced
15:4b0c6ed43234 16:8e837d1bf446
   128  * @handle_message: method to handle a message from the children
   128  * @handle_message: method to handle a message from the children
   129  *
   129  *
   130  * Subclasses can override the @add_element and @remove_element to
   130  * Subclasses can override the @add_element and @remove_element to
   131  * update the list of children in the bin.
   131  * update the list of children in the bin.
   132  *
   132  *
   133  * The @handle_message method can be overriden to implement custom
   133  * The @handle_message method can be overridden to implement custom
   134  * message handling.
   134  * message handling.  @handle_message takes ownership of the message, just like
       
   135  * #gst_element_post_message.
   135  */
   136  */
   136 struct _GstBinClass {
   137 struct _GstBinClass {
   137   GstElementClass parent_class;
   138   GstElementClass parent_class;
   138 
   139 
   139   /*< private >*/
   140   /*< private >*/
   149   gboolean	(*remove_element)	(GstBin *bin, GstElement *element);
   150   gboolean	(*remove_element)	(GstBin *bin, GstElement *element);
   150 
   151 
   151   void		(*handle_message)	(GstBin *bin, GstMessage *message);
   152   void		(*handle_message)	(GstBin *bin, GstMessage *message);
   152 
   153 
   153   /*< private >*/
   154   /*< private >*/
   154   gpointer _gst_reserved[GST_PADDING];
   155   /* signal added 0.10.22 */
       
   156   gboolean	(*do_latency)           (GstBin *bin);
       
   157 
       
   158   /*< private >*/
       
   159   gpointer _gst_reserved[GST_PADDING-1];
   155 };
   160 };
   156 #ifdef __SYMBIAN32__
   161 #ifdef __SYMBIAN32__
   157 IMPORT_C
   162 IMPORT_C
   158 #endif
   163 #endif
   159 
   164 
   225 IMPORT_C
   230 IMPORT_C
   226 #endif
   231 #endif
   227 
   232 
   228 GstIterator*	gst_bin_iterate_all_by_interface (GstBin *bin, GType iface);
   233 GstIterator*	gst_bin_iterate_all_by_interface (GstBin *bin, GType iface);
   229 
   234 
       
   235 /* latency */
       
   236 #ifdef __SYMBIAN32__
       
   237 IMPORT_C
       
   238 #endif
       
   239 
       
   240 gboolean        gst_bin_recalculate_latency      (GstBin * bin);
       
   241 
       
   242 
   230 G_END_DECLS
   243 G_END_DECLS
   231 
   244 
   232 
   245 
   233 #endif /* __GST_BIN_H__ */
   246 #endif /* __GST_BIN_H__ */