diff options
author | Edward Hervey <bilboed@bilboed.com> | 2006-04-03 09:51:48 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2006-04-03 09:51:48 +0000 |
commit | 62940ebec76d3b99567a8d4438f92d66c84de1a6 (patch) | |
tree | ed55c1c12fe843bc1afa7839cc0a8807aa1e698f /gnl/gnloperation.c | |
parent | ea131879e57adbf8283cb627b05f73929e042820 (diff) |
gnl/: Indent the source code using gstreamer/tools/gst-indent
Original commit message from CVS:
* gnl/gnl.c: (plugin_init):
* gnl/gnlcomposition.c: (gnl_composition_class_init),
(hash_value_destroy), (gnl_composition_init),
(gnl_composition_dispose), (gnl_composition_finalize),
(unlock_child_state), (ready_and_lock_child_state),
(gnl_composition_reset), (gnl_composition_handle_message),
(priority_comp), (have_to_update_pipeline), (get_new_seek_event),
(handle_seek_event), (gnl_composition_event_handler),
(gnl_composition_ghost_pad_set_target), (get_stack_list),
(get_clean_toplevel_stack), (get_src_pad),
(gnl_composition_prepare), (gnl_composition_change_state),
(objects_start_compare), (objects_stop_compare),
(update_start_stop_duration), (no_more_pads_object_cb),
(compare_relink_stack), (update_pipeline), (object_start_changed),
(object_stop_changed), (object_priority_changed),
(object_active_changed), (object_pad_removed),
(gnl_composition_add_object), (gnl_composition_remove_object):
* gnl/gnlcomposition.h:
* gnl/gnlfilesource.c: (gnl_filesource_class_init),
(compare_src_pad), (get_valid_src_pad), (ghost_seek_pad),
(pad_blocked_cb), (decodebin_new_pad_cb),
(decodebin_pad_removed_cb), (gnl_filesource_init),
(gnl_filesource_dispose), (gnl_filesource_finalize),
(gnl_filesource_prepare), (gnl_filesource_send_event),
(gnl_filesource_set_property), (gnl_filesource_get_property):
* gnl/gnlfilesource.h:
* gnl/gnlobject.c: (gnl_object_dispose), (ghostpad_event_function),
(control_internal_pad), (ghostpad_link_function),
(ghostpad_unlink_function), (gnl_object_change_state):
* gnl/gnlobject.h:
* gnl/gnloperation.c: (gnl_operation_class_init),
(gnl_operation_init):
* gnl/gnloperation.h:
* gnl/gnlsource.c: (gnl_source_class_init), (gnl_source_init),
(gnl_source_dispose), (gnl_source_finalize), (compare_src_pad),
(get_valid_src_pad), (no_more_pads_in_child),
(gnl_source_add_element), (gnl_source_remove_element):
* gnl/gnlsource.h:
Indent the source code using gstreamer/tools/gst-indent
Diffstat (limited to 'gnl/gnloperation.c')
-rw-r--r-- | gnl/gnloperation.c | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/gnl/gnloperation.c b/gnl/gnloperation.c index 6f8607d..8a303dd 100644 --- a/gnl/gnloperation.c +++ b/gnl/gnloperation.c @@ -28,12 +28,11 @@ GST_BOILERPLATE (GnlOperation, gnl_operation, GnlObject, GNL_TYPE_OBJECT); -static GstElementDetails gnl_operation_details = GST_ELEMENT_DETAILS ( - "GNonLin Operation", - "Filter/Editor", - "Encapsulates filters/effects for use with GNL Objects", - "Wim Taymans <wim.taymans@chello.be>, Edward Hervey <bilboed@bilboed.com>" - ); +static GstElementDetails gnl_operation_details = +GST_ELEMENT_DETAILS ("GNonLin Operation", + "Filter/Editor", + "Encapsulates filters/effects for use with GNL Objects", + "Wim Taymans <wim.taymans@chello.be>, Edward Hervey <bilboed@bilboed.com>"); GST_DEBUG_CATEGORY_STATIC (gnloperation); #define GST_CAT_DEFAULT gnloperation @@ -86,19 +85,18 @@ gnl_operation_base_init (gpointer g_class) } static void -gnl_operation_class_init (GnlOperationClass *klass) +gnl_operation_class_init (GnlOperationClass * klass) { - GObjectClass *gobject_class; - GstElementClass *gstelement_class; - GnlObjectClass *gnlobject_class; + GObjectClass *gobject_class; + GstElementClass *gstelement_class; + GnlObjectClass *gnlobject_class; - gobject_class = (GObjectClass*)klass; - gstelement_class = (GstElementClass*)klass; - gnlobject_class = (GnlObjectClass*)klass; + gobject_class = (GObjectClass *) klass; + gstelement_class = (GstElementClass *) klass; + gnlobject_class = (GnlObjectClass *) klass; GST_DEBUG_CATEGORY_INIT (gnloperation, "gnloperation", - GST_DEBUG_FG_BLUE | GST_DEBUG_BOLD, - "GNonLin Operation element"); + GST_DEBUG_FG_BLUE | GST_DEBUG_BOLD, "GNonLin Operation element"); /* gobject_class->set_property = GST_DEBUG_FUNCPTR (gnl_operation_set_property); */ /* gobject_class->get_property = GST_DEBUG_FUNCPTR (gnl_operation_get_property); */ @@ -111,7 +109,7 @@ gnl_operation_class_init (GnlOperationClass *klass) } static void -gnl_operation_init (GnlOperation *operation, GnlOperationClass *klass) +gnl_operation_init (GnlOperation * operation, GnlOperationClass * klass) { } @@ -137,7 +135,7 @@ gnl_operation_init (GnlOperation *operation, GnlOperationClass *klass) /* walk = gst_element_get_pad_list (element); */ /* while (walk) { */ /* GstPad *pad = GST_PAD (walk->data); */ - + /* if (GST_PAD_IS_SRC(pad)) { */ /* if (foundsrc) */ /* GST_WARNING ("More than one srcpad in %s", gst_element_get_name(GST_ELEMENT (operation))); */ @@ -255,7 +253,7 @@ gnl_operation_init (GnlOperation *operation, GnlOperationClass *klass) /* GValue *value, GParamSpec *pspec) */ /* { */ /* GnlOperation *operation; */ - + /* g_return_if_fail (GNL_IS_OPERATION (object)); */ /* operation = GNL_OPERATION (object); */ |