mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
ges: Don't shorten symbol names
It wasn't making us gain anything, and confuses the hell out of g-ir-scanner.
This commit is contained in:
parent
122d3cda02
commit
ecc168c13c
17 changed files with 3762 additions and 155 deletions
686
docs/libs/ges-decl-list.txt.bak
Normal file
686
docs/libs/ges-decl-list.txt.bak
Normal file
|
@ -0,0 +1,686 @@
|
|||
<SECTION>
|
||||
<FILE>ges-track-transition</FILE>
|
||||
<TITLE>GESTrackTransition</TITLE>
|
||||
GESTrackTransitionPrivate
|
||||
GESTrackTransition
|
||||
GESTrackTransitionClass
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_TRANSITION
|
||||
GES_IS_TRACK_TRANSITION
|
||||
GES_TYPE_TRACK_TRANSITION
|
||||
ges_track_transition_get_type
|
||||
GES_TRACK_TRANSITION_CLASS
|
||||
GES_IS_TRACK_TRANSITION_CLASS
|
||||
GES_TRACK_TRANSITION_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-source</FILE>
|
||||
<TITLE>GESTimelineSource</TITLE>
|
||||
GESTimelineSourcePrivate
|
||||
GESTimelineSource
|
||||
GESTimelineSourceClass
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_SOURCE
|
||||
GES_IS_TIMELINE_SOURCE
|
||||
GES_TYPE_TIMELINE_SOURCE
|
||||
ges_timeline_source_get_type
|
||||
GES_TIMELINE_SOURCE_CLASS
|
||||
GES_IS_TIMELINE_SOURCE_CLASS
|
||||
GES_TIMELINE_SOURCE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-formatter</FILE>
|
||||
<TITLE>GESFormatter</TITLE>
|
||||
GESFormatter
|
||||
GESFormatterCanLoadURIMethod
|
||||
GESFormatterCanSaveURIMethod
|
||||
GESFormatterLoadFromURIMethod
|
||||
GESFormatterSaveToURIMethod
|
||||
GESFormatterSaveMethod
|
||||
GESFormatterLoadMethod
|
||||
GESFormatterClass
|
||||
ges_formatter_new_for_uri
|
||||
ges_default_formatter_new
|
||||
ges_formatter_can_load_uri
|
||||
ges_formatter_can_save_uri
|
||||
ges_formatter_load_from_uri
|
||||
ges_formatter_save_to_uri
|
||||
ges_formatter_load
|
||||
ges_formatter_save
|
||||
ges_formatter_set_data
|
||||
ges_formatter_get_data
|
||||
ges_formatter_clear_data
|
||||
<SUBSECTION Standard>
|
||||
GES_FORMATTER
|
||||
GES_IS_FORMATTER
|
||||
GES_TYPE_FORMATTER
|
||||
ges_formatter_get_type
|
||||
GES_FORMATTER_CLASS
|
||||
GES_IS_FORMATTER_CLASS
|
||||
GES_FORMATTER_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track-operation</FILE>
|
||||
<TITLE>GESTrackOperation</TITLE>
|
||||
GESTrackOperationPrivate
|
||||
GESTrackOperation
|
||||
GESTrackOperationClass
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_OPERATION
|
||||
GES_IS_TRACK_OPERATION
|
||||
GES_TYPE_TRACK_OPERATION
|
||||
ges_track_operation_get_type
|
||||
GES_TRACK_OPERATION_CLASS
|
||||
GES_IS_TRACK_OPERATION_CLASS
|
||||
GES_TRACK_OPERATION_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-text-overlay</FILE>
|
||||
<TITLE>GESTimelineTextOverlay</TITLE>
|
||||
GESTimelineTextOverlayPrivate
|
||||
GESTimelineTextOverlay
|
||||
GESTimelineTextOverlayClass
|
||||
ges_timeline_text_overlay_new
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_TEXT_OVERLAY
|
||||
GES_IS_TIMELINE_TEXT_OVERLAY
|
||||
GES_TYPE_TIMELINE_TEXT_OVERLAY
|
||||
ges_timeline_text_overlay_get_type
|
||||
GES_TIMELINE_TEXT_OVERLAY_CLASS
|
||||
GES_IS_TIMELINE_TEXT_OVERLAY_CLASS
|
||||
GES_TIMELINE_TEXT_OVERLAY_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-transition</FILE>
|
||||
<TITLE>GESTimelineTransition</TITLE>
|
||||
GESTimelineTransitionPrivate
|
||||
GESTimelineTransition
|
||||
GESTimelineTransitionClass
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_TRANSITION
|
||||
GES_IS_TIMELINE_TRANSITION
|
||||
GES_TYPE_TIMELINE_TRANSITION
|
||||
ges_timeline_transition_get_type
|
||||
GES_TIMELINE_TRANSITION_CLASS
|
||||
GES_IS_TIMELINE_TRANSITION_CLASS
|
||||
GES_TIMELINE_TRANSITION_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track-audio-test-source</FILE>
|
||||
<TITLE>GESTrackAudioTestSource</TITLE>
|
||||
GESTrackAudioTestSourcePrivate
|
||||
GESTrackAudioTestSource
|
||||
GESTrackAudioTestSourceClass
|
||||
ges_track_audio_test_source_new
|
||||
ges_track_audio_test_source_set_freq
|
||||
ges_track_audio_test_source_set_volume
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_AUDIO_TEST_SOURCE
|
||||
GES_IS_TRACK_AUDIO_TEST_SOURCE
|
||||
GES_TYPE_TRACK_AUDIO_TEST_SOURCE
|
||||
ges_track_audio_test_source_get_type
|
||||
GES_TRACK_AUDIO_TEST_SOURCE_CLASS
|
||||
GES_IS_TRACK_AUDIO_TEST_SOURCE_CLASS
|
||||
GES_TRACK_AUDIO_TEST_SOURCE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-standard-transition</FILE>
|
||||
<TITLE>GESTimelineStandardTransition</TITLE>
|
||||
GESTimelineStandardTransitionPrivate
|
||||
GESTimelineStandardTransition
|
||||
GESTimelineStandardTransitionClass
|
||||
ges_timeline_standard_transition_new
|
||||
ges_timeline_standard_transition_new_for_nick
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_STANDARD_TRANSITION
|
||||
GES_IS_TIMELINE_STANDARD_TRANSITION
|
||||
GES_TYPE_TIMELINE_STANDARD_TRANSITION
|
||||
ges_timeline_standard_transition_get_type
|
||||
GES_TIMELINE_STANDARD_TRANSITION_CLASS
|
||||
GES_IS_TIMELINE_STANDARD_TRANSITION_CLASS
|
||||
GES_TIMELINE_STANDARD_TRANSITION_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track-source</FILE>
|
||||
<TITLE>GESTrackSource</TITLE>
|
||||
GESTrackSourcePrivate
|
||||
GESTrackSource
|
||||
GESTrackSourceClass
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_SOURCE
|
||||
GES_IS_TRACK_SOURCE
|
||||
GES_TYPE_TRACK_SOURCE
|
||||
ges_track_source_get_type
|
||||
GES_TRACK_SOURCE_CLASS
|
||||
GES_IS_TRACK_SOURCE_CLASS
|
||||
GES_TRACK_SOURCE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track</FILE>
|
||||
<TITLE>GESTrack</TITLE>
|
||||
GESTrackPrivate
|
||||
GESTrack
|
||||
GESTrackClass
|
||||
ges_track_new
|
||||
ges_track_set_timeline
|
||||
ges_track_set_caps
|
||||
ges_track_add_object
|
||||
ges_track_remove_object
|
||||
ges_track_video_raw_new
|
||||
ges_track_audio_raw_new
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK
|
||||
GES_IS_TRACK
|
||||
GES_TYPE_TRACK
|
||||
ges_track_get_type
|
||||
GES_TRACK_CLASS
|
||||
GES_IS_TRACK_CLASS
|
||||
GES_TRACK_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track-video-test-source</FILE>
|
||||
<TITLE>GESTrackVideoTestSource</TITLE>
|
||||
GESTrackVideoTestSourcePrivate
|
||||
GESTrackVideoTestSource
|
||||
GESTrackVideoTestSourceClass
|
||||
ges_track_video_test_source_new
|
||||
ges_track_video_test_source_set_pattern
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_VIDEO_TEST_SOURCE
|
||||
GES_IS_TRACK_VIDEO_TEST_SOURCE
|
||||
GES_TYPE_TRACK_VIDEO_TEST_SOURCE
|
||||
ges_track_video_test_source_get_type
|
||||
GES_TRACK_VIDEO_TEST_SOURCE_CLASS
|
||||
GES_IS_TRACK_VIDEO_TEST_SOURCE_CLASS
|
||||
GES_TRACK_VIDEO_TEST_SOURCE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline</FILE>
|
||||
<TITLE>GESTimeline</TITLE>
|
||||
GESTimeline
|
||||
GESTimelineClass
|
||||
ges_timeline_new
|
||||
ges_timeline_new_from_uri
|
||||
ges_timeline_load_from_uri
|
||||
ges_timeline_save_to_uri
|
||||
ges_timeline_add_layer
|
||||
ges_timeline_remove_layer
|
||||
ges_timeline_add_track
|
||||
ges_timeline_remove_track
|
||||
ges_timeline_get_track_for_pad
|
||||
ges_timeline_get_tracks
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE
|
||||
GES_IS_TIMELINE
|
||||
GES_TYPE_TIMELINE
|
||||
ges_timeline_get_type
|
||||
GES_TIMELINE_CLASS
|
||||
GES_IS_TIMELINE_CLASS
|
||||
GES_TIMELINE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-test-source</FILE>
|
||||
<TITLE>GESTimelineTestSource</TITLE>
|
||||
GESTimelineTestSourcePrivate
|
||||
GESTimelineTestSource
|
||||
GESTimelineTestSourceClass
|
||||
ges_timeline_test_source_new
|
||||
ges_timeline_test_source_new_for_nick
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_TEST_SOURCE
|
||||
GES_IS_TIMELINE_TEST_SOURCE
|
||||
GES_TYPE_TIMELINE_TEST_SOURCE
|
||||
ges_timeline_test_source_get_type
|
||||
GES_TIMELINE_TEST_SOURCE_CLASS
|
||||
GES_IS_TIMELINE_TEST_SOURCE_CLASS
|
||||
GES_TIMELINE_TEST_SOURCE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-object</FILE>
|
||||
<TITLE>GESTimelineObject</TITLE>
|
||||
GESTimelineObjectPrivate
|
||||
GESFillTrackObjectFunc
|
||||
CreateTrackObjectFunc
|
||||
CreateTrackObjectsFunc
|
||||
GES_TIMELINE_OBJECT_START
|
||||
GES_TIMELINE_OBJECT_INPOINT
|
||||
GES_TIMELINE_OBJECT_DURATION
|
||||
GES_TIMELINE_OBJECT_PRIORITY
|
||||
GES_TIMELINE_OBJECT_HEIGHT
|
||||
GESTimelineObject
|
||||
GESTimelineObjectClass
|
||||
ges_timeline_object_set_start
|
||||
ges_timeline_object_set_inpoint
|
||||
ges_timeline_object_set_duration
|
||||
ges_timeline_object_set_priority
|
||||
ges_timeline_object_set_layer
|
||||
ges_timeline_object_create_track_object
|
||||
ges_timeline_object_create_track_objects
|
||||
ges_timeline_object_release_track_object
|
||||
ges_timeline_object_fill_track_object
|
||||
ges_timeline_object_find_track_object
|
||||
ges_timeline_object_get_track_objects
|
||||
ges_timeline_object_get_layer
|
||||
ges_timeline_object_add_track_object
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_OBJECT
|
||||
GES_IS_TIMELINE_OBJECT
|
||||
GES_TYPE_TIMELINE_OBJECT
|
||||
ges_timeline_object_get_type
|
||||
GES_TIMELINE_OBJECT_CLASS
|
||||
GES_IS_TIMELINE_OBJECT_CLASS
|
||||
GES_TIMELINE_OBJECT_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-simple-timeline-layer</FILE>
|
||||
<TITLE>GESSimpleTimelineLayer</TITLE>
|
||||
GESSimpleTimelineLayerPrivate
|
||||
GESSimpleTimelineLayer
|
||||
GESSimpleTimelineLayerClass
|
||||
ges_simple_timeline_layer_new
|
||||
ges_simple_timeline_layer_add_object
|
||||
ges_simple_timeline_layer_move_object
|
||||
ges_simple_timeline_layer_is_valid
|
||||
<SUBSECTION Standard>
|
||||
GES_SIMPLE_TIMELINE_LAYER
|
||||
GES_IS_SIMPLE_TIMELINE_LAYER
|
||||
GES_TYPE_SIMPLE_TIMELINE_LAYER
|
||||
ges_simple_timeline_layer_get_type
|
||||
GES_SIMPLE_TIMELINE_LAYER_CLASS
|
||||
GES_IS_SIMPLE_TIMELINE_LAYER_CLASS
|
||||
GES_SIMPLE_TIMELINE_LAYER_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track-image-source</FILE>
|
||||
<TITLE>GESTrackImageSource</TITLE>
|
||||
GESTrackImageSourcePrivate
|
||||
GESTrackImageSource
|
||||
GESTrackImageSourceClass
|
||||
ges_track_image_source_new
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_IMAGE_SOURCE
|
||||
GES_IS_TRACK_IMAGE_SOURCE
|
||||
GES_TYPE_TRACK_IMAGE_SOURCE
|
||||
ges_track_image_source_get_type
|
||||
GES_TRACK_IMAGE_SOURCE_CLASS
|
||||
GES_IS_TRACK_IMAGE_SOURCE_CLASS
|
||||
GES_TRACK_IMAGE_SOURCE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-layer</FILE>
|
||||
<TITLE>GESTimelineLayer</TITLE>
|
||||
GESTimelineLayerPrivate
|
||||
GESTimelineLayer
|
||||
GESTimelineLayerClass
|
||||
ges_timeline_layer_new
|
||||
ges_timeline_layer_set_timeline
|
||||
ges_timeline_layer_add_object
|
||||
ges_timeline_layer_remove_object
|
||||
ges_timeline_layer_set_priority
|
||||
ges_timeline_layer_get_objects
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_LAYER
|
||||
GES_IS_TIMELINE_LAYER
|
||||
GES_TYPE_TIMELINE_LAYER
|
||||
ges_timeline_layer_get_type
|
||||
GES_TIMELINE_LAYER_CLASS
|
||||
GES_IS_TIMELINE_LAYER_CLASS
|
||||
GES_TIMELINE_LAYER_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track-video-transition</FILE>
|
||||
<TITLE>GESTrackVideoTransition</TITLE>
|
||||
GESTrackVideoTransitionPrivate
|
||||
GESTrackVideoTransition
|
||||
GESTrackVideoTransitionClass
|
||||
ges_track_video_transition_set_type
|
||||
ges_track_video_transition_new
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_VIDEO_TRANSITION
|
||||
GES_IS_TRACK_VIDEO_TRANSITION
|
||||
GES_TYPE_TRACK_VIDEO_TRANSITION
|
||||
ges_track_video_transition_get_type
|
||||
GES_TRACK_VIDEO_TRANSITION_CLASS
|
||||
GES_IS_TRACK_VIDEO_TRANSITION_CLASS
|
||||
GES_TRACK_VIDEO_TRANSITION_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-file-source</FILE>
|
||||
<TITLE>GESTimelineFileSource</TITLE>
|
||||
GESTimelineFileSource
|
||||
GESTimelineFileSourceClass
|
||||
ges_timeline_filesource_new
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_FILE_SOURCE
|
||||
GES_IS_TIMELINE_FILE_SOURCE
|
||||
GES_TYPE_TIMELINE_FILE_SOURCE
|
||||
ges_timeline_filesource_get_type
|
||||
GES_TIMELINE_FILE_SOURCE_CLASS
|
||||
GES_IS_TIMELINE_FILE_SOURCE_CLASS
|
||||
GES_TIMELINE_FILE_SOURCE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track-object</FILE>
|
||||
<TITLE>GESTrackObject</TITLE>
|
||||
GES_TRACK_OBJECT_START
|
||||
GES_TRACK_OBJECT_INPOINT
|
||||
GES_TRACK_OBJECT_DURATION
|
||||
GESTrackObjectPrivate
|
||||
GESTrackObject
|
||||
GESTrackObjectClass
|
||||
ges_track_object_set_track
|
||||
ges_track_object_set_timeline_object
|
||||
ges_track_object_set_start_internal
|
||||
ges_track_object_set_inpoint_internal
|
||||
ges_track_object_set_duration_internal
|
||||
ges_track_object_set_priority_internal
|
||||
ges_track_object_set_priority_offset_internal
|
||||
ges_track_object_get_priority_offset
|
||||
ges_track_object_set_active
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_OBJECT
|
||||
GES_IS_TRACK_OBJECT
|
||||
GES_TYPE_TRACK_OBJECT
|
||||
ges_track_object_get_type
|
||||
GES_TRACK_OBJECT_CLASS
|
||||
GES_IS_TRACK_OBJECT_CLASS
|
||||
GES_TRACK_OBJECT_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-pipeline</FILE>
|
||||
<TITLE>GESTimelinePipeline</TITLE>
|
||||
GESTimelinePipelinePrivate
|
||||
GESPipelineFlags
|
||||
GESTimelinePipeline
|
||||
GESTimelinePipelineClass
|
||||
ges_timeline_pipeline_new
|
||||
ges_timeline_pipeline_add_timeline
|
||||
ges_timeline_pipeline_set_render_settings
|
||||
ges_timeline_pipeline_set_mode
|
||||
ges_timeline_pipeline_get_thumbnail_buffer
|
||||
ges_timeline_pipeline_get_thumbnail_rgb24
|
||||
ges_timeline_pipeline_save_thumbnail
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_PIPELINE
|
||||
GES_IS_TIMELINE_PIPELINE
|
||||
GES_TYPE_TIMELINE_PIPELINE
|
||||
ges_timeline_pipeline_get_type
|
||||
GES_TIMELINE_PIPELINE_CLASS
|
||||
GES_IS_TIMELINE_PIPELINE_CLASS
|
||||
GES_TIMELINE_PIPELINE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-operation</FILE>
|
||||
<TITLE>GESTimelineOperation</TITLE>
|
||||
GESTimelineOperationPrivate
|
||||
GESTimelineOperation
|
||||
GESTimelineOperationClass
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_OPERATION
|
||||
GES_IS_TIMELINE_OPERATION
|
||||
GES_TYPE_TIMELINE_OPERATION
|
||||
ges_timeline_operation_get_type
|
||||
GES_TIMELINE_OPERATION_CLASS
|
||||
GES_IS_TIMELINE_OPERATION_CLASS
|
||||
GES_TIMELINE_OPERATION_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-overlay</FILE>
|
||||
<TITLE>GESTimelineOverlay</TITLE>
|
||||
GESTimelineOverlayPrivate
|
||||
GESTimelineOverlay
|
||||
GESTimelineOverlayClass
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_OVERLAY
|
||||
GES_IS_TIMELINE_OVERLAY
|
||||
GES_TYPE_TIMELINE_OVERLAY
|
||||
ges_timeline_overlay_get_type
|
||||
GES_TIMELINE_OVERLAY_CLASS
|
||||
GES_IS_TIMELINE_OVERLAY_CLASS
|
||||
GES_TIMELINE_OVERLAY_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-custom-timeline-source</FILE>
|
||||
<TITLE>GESCustomTimelineSource</TITLE>
|
||||
GESCustomTimelineSourcePrivate
|
||||
FillTrackObjectUserFunc
|
||||
GESCustomTimelineSource
|
||||
GESCustomTimelineSourceClass
|
||||
ges_custom_timeline_source_new
|
||||
<SUBSECTION Standard>
|
||||
GES_CUSTOM_TIMELINE_SOURCE
|
||||
GES_IS_CUSTOM_TIMELINE_SOURCE
|
||||
GES_TYPE_CUSTOM_TIMELINE_SOURCE
|
||||
ges_custom_timeline_source_get_type
|
||||
GES_CUSTOM_TIMELINE_SOURCE_CLASS
|
||||
GES_IS_CUSTOM_TIMELINE_SOURCE_CLASS
|
||||
GES_CUSTOM_TIMELINE_SOURCE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track-title-source</FILE>
|
||||
<TITLE>GESTrackTitleSource</TITLE>
|
||||
GESTrackTitleSourcePrivate
|
||||
GESTrackTitleSource
|
||||
GESTrackTitleSourceClass
|
||||
ges_track_title_source_set_text
|
||||
ges_track_title_source_set_font_desc
|
||||
ges_track_title_source_set_halignment
|
||||
ges_track_title_source_set_valignment
|
||||
ges_track_title_source_new
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_TITLE_SOURCE
|
||||
GES_IS_TRACK_TITLE_SOURCE
|
||||
GES_TYPE_TRACK_TITLE_SOURCE
|
||||
ges_track_title_source_get_type
|
||||
GES_TRACK_TITLE_SOURCE_CLASS
|
||||
GES_IS_TRACK_TITLE_SOURCE_CLASS
|
||||
GES_TRACK_TITLE_SOURCE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track-audio-transition</FILE>
|
||||
<TITLE>GESTrackAudioTransition</TITLE>
|
||||
GESTrackAudioTransitionPrivate
|
||||
GESTrackAudioTransition
|
||||
GESTrackAudioTransitionClass
|
||||
ges_track_audio_transition_new
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_AUDIO_TRANSITION
|
||||
GES_IS_TRACK_AUDIO_TRANSITION
|
||||
GES_TYPE_TRACK_AUDIO_TRANSITION
|
||||
ges_track_audio_transition_get_type
|
||||
GES_TRACK_AUDIO_TRANSITION_CLASS
|
||||
GES_IS_TRACK_AUDIO_TRANSITION_CLASS
|
||||
GES_TRACK_AUDIO_TRANSITION_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-timeline-title-source</FILE>
|
||||
<TITLE>GESTimelineTitleSource</TITLE>
|
||||
GESTimelineTitleSourcePrivate
|
||||
GESTimelineTitleSource
|
||||
GESTimelineTitleSourceClass
|
||||
ges_timeline_title_source_new
|
||||
<SUBSECTION Standard>
|
||||
GES_TIMELINE_TITLE_SOURCE
|
||||
GES_IS_TIMELINE_TITLE_SOURCE
|
||||
GES_TYPE_TIMELINE_TITLE_SOURCE
|
||||
ges_timeline_title_source_get_type
|
||||
GES_TIMELINE_TITLE_SOURCE_CLASS
|
||||
GES_IS_TIMELINE_TITLE_SOURCE_CLASS
|
||||
GES_TIMELINE_TITLE_SOURCE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-keyfile-formatter</FILE>
|
||||
<TITLE>GESKeyfileFormatter</TITLE>
|
||||
GESKeyfileFormatter
|
||||
GESKeyfileFormatterClass
|
||||
ges_keyfile_formatter_new
|
||||
<SUBSECTION Standard>
|
||||
GES_KEYFILE_FORMATTER
|
||||
GES_IS_KEYFILE_FORMATTER
|
||||
GES_TYPE_KEYFILE_FORMATTER
|
||||
ges_keyfile_formatter_get_type
|
||||
GES_KEYFILE_FORMATTER_CLASS
|
||||
GES_IS_KEYFILE_FORMATTER_CLASS
|
||||
GES_KEYFILE_FORMATTER_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track-filesource</FILE>
|
||||
<TITLE>GESTrackFileSource</TITLE>
|
||||
GESTrackFileSourcePrivate
|
||||
GESTrackFileSource
|
||||
GESTrackFileSourceClass
|
||||
ges_track_filesource_new
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_FILESOURCE
|
||||
GES_IS_TRACK_FILESOURCE
|
||||
GES_TYPE_TRACK_FILESOURCE
|
||||
ges_track_filesource_get_type
|
||||
GES_TRACK_FILESOURCE_CLASS
|
||||
GES_IS_TRACK_FILESOURCE_CLASS
|
||||
GES_TRACK_FILESOURCE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-track-text-overlay</FILE>
|
||||
<TITLE>GESTrackTextOverlay</TITLE>
|
||||
GESTrackTextOverlayPrivate
|
||||
GESTrackTextOverlay
|
||||
GESTrackTextOverlayClass
|
||||
ges_track_text_overlay_set_text
|
||||
ges_track_text_overlay_set_font_desc
|
||||
ges_track_text_overlay_set_halignment
|
||||
ges_track_text_overlay_set_valignment
|
||||
ges_track_text_overlay_new
|
||||
<SUBSECTION Standard>
|
||||
GES_TRACK_TEXT_OVERLAY
|
||||
GES_IS_TRACK_TEXT_OVERLAY
|
||||
GES_TYPE_TRACK_TEXT_OVERLAY
|
||||
ges_track_text_overlay_get_type
|
||||
GES_TRACK_TEXT_OVERLAY_CLASS
|
||||
GES_IS_TRACK_TEXT_OVERLAY_CLASS
|
||||
GES_TRACK_TEXT_OVERLAY_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-types</FILE>
|
||||
GES_PADDING
|
||||
GESCustomTimelineSource
|
||||
GESCustomTimelineSourceClass
|
||||
GESSimpleTimelineLayer
|
||||
GESSimpleTimelineLayerClass
|
||||
GESTimeline
|
||||
GESTimelineClass
|
||||
GESTimelineLayer
|
||||
GESTimelineLayerClass
|
||||
GESTimelineObject
|
||||
GESTimelineObjectClass
|
||||
GESTimelineOperation
|
||||
GESTimelineOperationClass
|
||||
GESTimelinePipeline
|
||||
GESTimelinePipelineClass
|
||||
GESTimelineSource
|
||||
GESTimelineSourceClass
|
||||
GESTimelineFileSource
|
||||
GESTimelineFileSourceClass
|
||||
GESTimelineTransition
|
||||
GESTimelineTransitionClass
|
||||
GESTimelineStandardTransition
|
||||
GESTimelineStandardTransitionClass
|
||||
GESTimelineTestSource
|
||||
GESTimelineTestSourceClass
|
||||
GESTimelineTitleSource
|
||||
GESTimelineTitleSourceClass
|
||||
GESTimelineOverlay
|
||||
GESTimelineOverlayClass
|
||||
GESTimelineTextOverlay
|
||||
GESTimelineTextOverlayClass
|
||||
GESTrack
|
||||
GESTrackClass
|
||||
GESTrackObject
|
||||
GESTrackObjectClass
|
||||
GESTrackSource
|
||||
GESTrackSourceClass
|
||||
GESTrackOperation
|
||||
GESTrackOperationClass
|
||||
GESTrackFileSource
|
||||
GESTrackFileSourceClass
|
||||
GESTrackImageSource
|
||||
GESTrackImageSourceClass
|
||||
GESTrackTransition
|
||||
GESTrackTransitionClass
|
||||
GESTrackAudioTransition
|
||||
GESTrackVideoTransition
|
||||
GESTrackVideoTestSource
|
||||
GESTrackAudioTestSource
|
||||
GESTrackTitleSource
|
||||
GESTrackTextOverlay
|
||||
GESFormatter
|
||||
GESFormatterClass
|
||||
GESKeyfileFormatter
|
||||
GESKeyfileFormatterClass
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges</FILE>
|
||||
ges_init
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-enums</FILE>
|
||||
GES_TYPE_TRACK_TYPE
|
||||
ges_track_type_get_type
|
||||
GESTrackType
|
||||
GESVideoStandardTransitionType
|
||||
GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE
|
||||
ges_video_standard_transition_type_get_type
|
||||
GESTextVAlign
|
||||
DEFAULT_VALIGNMENT
|
||||
GES_TEXT_VALIGN_TYPE
|
||||
ges_text_valign_get_type
|
||||
GESTextHAlign
|
||||
DEFAULT_HALIGNMENT
|
||||
GES_TEXT_HALIGN_TYPE
|
||||
ges_text_halign_get_type
|
||||
GESVideoTestPattern
|
||||
GES_VIDEO_TEST_PATTERN_TYPE
|
||||
ges_video_test_pattern_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-screenshot</FILE>
|
||||
ges_play_sink_convert_frame
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>ges-utils</FILE>
|
||||
ges_timeline_new_audio_video
|
||||
</SECTION>
|
||||
|
2909
docs/libs/ges-decl.txt.bak
Normal file
2909
docs/libs/ges-decl.txt.bak
Normal file
File diff suppressed because it is too large
Load diff
|
@ -264,7 +264,7 @@ GESTimelineObject
|
|||
GESTimelineObjectClass
|
||||
CreateTrackObjectFunc
|
||||
CreateTrackObjectsFunc
|
||||
FillTrackObjectFunc
|
||||
GESFillTrackObjectFunc
|
||||
ges_timeline_object_set_inpoint
|
||||
ges_timeline_object_set_start
|
||||
ges_timeline_object_set_duration
|
||||
|
@ -344,7 +344,7 @@ GESTimelineFileSource
|
|||
ges_timeline_filesource_new
|
||||
<SUBSECTION Standard>
|
||||
GESTimelineFileSourceClass
|
||||
ges_tl_filesource_get_type
|
||||
ges_timeline_filesource_get_type
|
||||
GES_IS_TIMELINE_FILE_SOURCE
|
||||
GES_IS_TIMELINE_FILE_SOURCE_CLASS
|
||||
GES_TIMELINE_FILE_SOURCE
|
||||
|
@ -424,11 +424,11 @@ ges_timeline_standard_transition_get_type
|
|||
<FILE>ges-custom-timeline-source</FILE>
|
||||
<TITLE>GESCustomTimelineSource</TITLE>
|
||||
GESCustomTimelineSource
|
||||
FillTrackObjectUserFunc
|
||||
GESFillTrackObjectUserFunc
|
||||
ges_custom_timeline_source_new
|
||||
<SUBSECTION Standard>
|
||||
GESCustomTimelineSourceClass
|
||||
ges_cust_timeline_src_get_type
|
||||
ges_custom_timeline_source_get_type
|
||||
GESCustomTimelineSourcePrivate
|
||||
GES_CUSTOM_TIMELINE_SOURCE
|
||||
GES_CUSTOM_TIMELINE_SOURCE_CLASS
|
||||
|
@ -484,7 +484,7 @@ ges_timeline_title_source_new
|
|||
<SUBSECTION Standard>
|
||||
GESTimelineTitleSourceClass
|
||||
GESTimelineTitleSourcePrivate
|
||||
ges_tl_title_src_get_type
|
||||
ges_timeline_title_source_get_type
|
||||
GES_IS_TIMELINE_TITLE_SOURCE
|
||||
GES_IS_TIMELINE_TITLE_SOURCE_CLASS
|
||||
GES_TIMELINE_TITLE_SOURCE
|
||||
|
@ -500,7 +500,7 @@ ges_timeline_text_overlay_new
|
|||
<SUBSECTION Standard>
|
||||
GESTimelineTextOverlayClass
|
||||
GESTimelineTextOverlayPrivate
|
||||
ges_tl_text_overlay_get_type
|
||||
ges_timeline_text_overlay_get_type
|
||||
GES_IS_TIMELINE_TEXT_OVERLAY
|
||||
GES_IS_TIMELINE_TEXT_OVERLAY_CLASS
|
||||
GES_TIMELINE_TEXT_OVERLAY
|
||||
|
@ -558,7 +558,7 @@ ges_track_title_source_new
|
|||
<SUBSECTION Standard>
|
||||
GESTrackTitleSourceClass
|
||||
GESTrackTitleSourcePrivate
|
||||
ges_track_title_src_get_type
|
||||
ges_track_title_source_get_type
|
||||
GES_TRACK_TITLE_SOURCE
|
||||
GES_TRACK_TITLE_SOURCE_CLASS
|
||||
GES_TRACK_TITLE_SOURCE_GET_CLASS
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <gst/gst.h>
|
||||
#include <ges/ges.h>
|
||||
|
||||
ges_cust_timeline_src_get_type
|
||||
ges_custom_timeline_source_get_type
|
||||
ges_formatter_get_type
|
||||
ges_keyfile_formatter_get_type
|
||||
ges_simple_timeline_layer_get_type
|
||||
|
@ -17,9 +17,9 @@ ges_timeline_source_get_type
|
|||
ges_timeline_test_source_get_type
|
||||
ges_timeline_transition_get_type
|
||||
ges_timeline_standard_transition_get_type
|
||||
ges_tl_filesource_get_type
|
||||
ges_tl_text_overlay_get_type
|
||||
ges_tl_title_src_get_type
|
||||
ges_timeline_filesource_get_type
|
||||
ges_timeline_text_overlay_get_type
|
||||
ges_timeline_title_source_get_type
|
||||
ges_track_audio_test_source_get_type
|
||||
ges_track_audio_transition_get_type
|
||||
ges_track_filesource_get_type
|
||||
|
@ -29,7 +29,7 @@ ges_track_object_get_type
|
|||
ges_track_operation_get_type
|
||||
ges_track_source_get_type
|
||||
ges_track_text_overlay_get_type
|
||||
ges_track_title_src_get_type
|
||||
ges_track_title_source_get_type
|
||||
ges_track_transition_get_type
|
||||
ges_track_type_get_type
|
||||
ges_track_video_test_source_get_type
|
||||
|
|
|
@ -35,44 +35,45 @@
|
|||
|
||||
struct _GESCustomTimelineSourcePrivate
|
||||
{
|
||||
FillTrackObjectUserFunc filltrackobjectfunc;
|
||||
GESFillTrackObjectUserFunc filltrackobjectfunc;
|
||||
gpointer user_data;
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GESCustomTimelineSource, ges_cust_timeline_src,
|
||||
G_DEFINE_TYPE (GESCustomTimelineSource, ges_custom_timeline_source,
|
||||
GES_TYPE_TIMELINE_SOURCE);
|
||||
|
||||
static gboolean
|
||||
ges_cust_timeline_src_fill_track_object (GESTimelineObject * object,
|
||||
ges_custom_timeline_source_fill_track_object (GESTimelineObject * object,
|
||||
GESTrackObject * trobject, GstElement * gnlobj);
|
||||
|
||||
static GESTrackObject *
|
||||
ges_cust_timeline_src_create_track_object (GESTimelineObject * obj,
|
||||
ges_custom_timeline_source_create_track_object (GESTimelineObject * obj,
|
||||
GESTrack * track)
|
||||
{
|
||||
return g_object_new (GES_TYPE_TRACK_SOURCE, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
ges_cust_timeline_src_class_init (GESCustomTimelineSourceClass * klass)
|
||||
ges_custom_timeline_source_class_init (GESCustomTimelineSourceClass * klass)
|
||||
{
|
||||
GESTimelineObjectClass *tlobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
|
||||
|
||||
g_type_class_add_private (klass, sizeof (GESCustomTimelineSourcePrivate));
|
||||
|
||||
tlobj_class->fill_track_object = ges_cust_timeline_src_fill_track_object;
|
||||
tlobj_class->create_track_object = ges_cust_timeline_src_create_track_object;
|
||||
tlobj_class->fill_track_object = ges_custom_timeline_source_fill_track_object;
|
||||
tlobj_class->create_track_object =
|
||||
ges_custom_timeline_source_create_track_object;
|
||||
}
|
||||
|
||||
static void
|
||||
ges_cust_timeline_src_init (GESCustomTimelineSource * self)
|
||||
ges_custom_timeline_source_init (GESCustomTimelineSource * self)
|
||||
{
|
||||
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
|
||||
GES_TYPE_CUSTOM_TIMELINE_SOURCE, GESCustomTimelineSourcePrivate);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
ges_cust_timeline_src_fill_track_object (GESTimelineObject * object,
|
||||
ges_custom_timeline_source_fill_track_object (GESTimelineObject * object,
|
||||
GESTrackObject * trobject, GstElement * gnlobj)
|
||||
{
|
||||
gboolean res;
|
||||
|
@ -91,7 +92,7 @@ ges_cust_timeline_src_fill_track_object (GESTimelineObject * object,
|
|||
|
||||
/**
|
||||
* ges_custom_timeline_source_new:
|
||||
* @func: The #FillTrackObjectUserFunc that will be used to fill the track objects.
|
||||
* @func: The #GESFillTrackObjectUserFunc that will be used to fill the track objects.
|
||||
* @user_data: a gpointer that will be used when @func is called.
|
||||
*
|
||||
* Creates a new #GESCustomTimelineSource.
|
||||
|
@ -99,7 +100,7 @@ ges_cust_timeline_src_fill_track_object (GESTimelineObject * object,
|
|||
* Returns: The new #GESCustomTimelineSource.
|
||||
*/
|
||||
GESCustomTimelineSource *
|
||||
ges_custom_timeline_source_new (FillTrackObjectUserFunc func,
|
||||
ges_custom_timeline_source_new (GESFillTrackObjectUserFunc func,
|
||||
gpointer user_data)
|
||||
{
|
||||
GESCustomTimelineSource *src;
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef _GES_CUST_TIMELINE_SRC
|
||||
#define _GES_CUST_TIMELINE_SRC
|
||||
#ifndef _GES_CUSTOM_TIMELINE_SOURCE
|
||||
#define _GES_CUSTOM_TIMELINE_SOURCE
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <ges/ges-types.h>
|
||||
|
@ -27,7 +27,7 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GES_TYPE_CUSTOM_TIMELINE_SOURCE ges_cust_timeline_src_get_type()
|
||||
#define GES_TYPE_CUSTOM_TIMELINE_SOURCE ges_custom_timeline_source_get_type()
|
||||
|
||||
#define GES_CUSTOM_TIMELINE_SOURCE(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_CUSTOM_TIMELINE_SOURCE, GESCustomTimelineSource))
|
||||
|
@ -47,7 +47,7 @@ G_BEGIN_DECLS
|
|||
typedef struct _GESCustomTimelineSourcePrivate GESCustomTimelineSourcePrivate;
|
||||
|
||||
/**
|
||||
* FillTrackObjectUserFunc:
|
||||
* GESFillTrackObjectUserFunc:
|
||||
* @object: the #GESTimelineObject controlling the track object
|
||||
* @trobject: the #GESTrackObject
|
||||
* @gnlobj: the GNonLin object that needs to be filled.
|
||||
|
@ -61,7 +61,7 @@ typedef struct _GESCustomTimelineSourcePrivate GESCustomTimelineSourcePrivate;
|
|||
*
|
||||
* Returns: TRUE if the implementer succesfully filled the @gnlobj, else #FALSE.
|
||||
*/
|
||||
typedef gboolean (*FillTrackObjectUserFunc) (GESTimelineObject * object,
|
||||
typedef gboolean (*GESFillTrackObjectUserFunc) (GESTimelineObject * object,
|
||||
GESTrackObject * trobject,
|
||||
GstElement * gnlobj,
|
||||
gpointer user_data);
|
||||
|
@ -94,13 +94,13 @@ struct _GESCustomTimelineSourceClass {
|
|||
gpointer _ges_reserved[GES_PADDING];
|
||||
};
|
||||
|
||||
GType ges_cust_timeline_src_get_type (void);
|
||||
GType ges_custom_timeline_source_get_type (void);
|
||||
|
||||
GESCustomTimelineSource*
|
||||
ges_custom_timeline_source_new (FillTrackObjectUserFunc func,
|
||||
ges_custom_timeline_source_new (GESFillTrackObjectUserFunc func,
|
||||
gpointer user_data);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _GES_CUST_TIMELINE_SRC */
|
||||
#endif /* _GES_CUSTOM_TIMELINE_SOURCE */
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "ges-track-image-source.h"
|
||||
#include "ges-track-audio-test-source.h"
|
||||
|
||||
G_DEFINE_TYPE (GESTimelineFileSource, ges_tl_filesource,
|
||||
G_DEFINE_TYPE (GESTimelineFileSource, ges_timeline_filesource,
|
||||
GES_TYPE_TIMELINE_SOURCE);
|
||||
|
||||
enum
|
||||
|
@ -47,17 +47,17 @@ enum
|
|||
};
|
||||
|
||||
static void
|
||||
ges_tl_filesource_set_mute (GESTimelineFileSource * self, gboolean mute);
|
||||
ges_timeline_filesource_set_mute (GESTimelineFileSource * self, gboolean mute);
|
||||
static void
|
||||
ges_tl_filesource_set_max_duration (GESTimelineFileSource * self,
|
||||
ges_timeline_filesource_set_max_duration (GESTimelineFileSource * self,
|
||||
guint64 maxduration);
|
||||
|
||||
static GESTrackObject
|
||||
* ges_tl_filesource_create_track_object (GESTimelineObject * obj,
|
||||
* ges_timeline_filesource_create_track_object (GESTimelineObject * obj,
|
||||
GESTrack * track);
|
||||
|
||||
static void
|
||||
ges_tl_filesource_get_property (GObject * object, guint property_id,
|
||||
ges_timeline_filesource_get_property (GObject * object, guint property_id,
|
||||
GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
GESTimelineFileSource *tfs = GES_TIMELINE_FILE_SOURCE (object);
|
||||
|
@ -84,7 +84,7 @@ ges_tl_filesource_get_property (GObject * object, guint property_id,
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_filesource_set_property (GObject * object, guint property_id,
|
||||
ges_timeline_filesource_set_property (GObject * object, guint property_id,
|
||||
const GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
GESTimelineFileSource *tfs = GES_TIMELINE_FILE_SOURCE (object);
|
||||
|
@ -94,10 +94,11 @@ ges_tl_filesource_set_property (GObject * object, guint property_id,
|
|||
tfs->uri = g_value_dup_string (value);
|
||||
break;
|
||||
case PROP_MUTE:
|
||||
ges_tl_filesource_set_mute (tfs, g_value_get_boolean (value));
|
||||
ges_timeline_filesource_set_mute (tfs, g_value_get_boolean (value));
|
||||
break;
|
||||
case PROP_MAX_DURATION:
|
||||
ges_tl_filesource_set_max_duration (tfs, g_value_get_uint64 (value));
|
||||
ges_timeline_filesource_set_max_duration (tfs,
|
||||
g_value_get_uint64 (value));
|
||||
break;
|
||||
case PROP_SUPPORTED_FORMATS:
|
||||
tfs->supportedformats = g_value_get_flags (value);
|
||||
|
@ -111,24 +112,24 @@ ges_tl_filesource_set_property (GObject * object, guint property_id,
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_filesource_finalize (GObject * object)
|
||||
ges_timeline_filesource_finalize (GObject * object)
|
||||
{
|
||||
GESTimelineFileSource *tfs = GES_TIMELINE_FILE_SOURCE (object);
|
||||
|
||||
if (tfs->uri)
|
||||
g_free (tfs->uri);
|
||||
G_OBJECT_CLASS (ges_tl_filesource_parent_class)->finalize (object);
|
||||
G_OBJECT_CLASS (ges_timeline_filesource_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
ges_tl_filesource_class_init (GESTimelineFileSourceClass * klass)
|
||||
ges_timeline_filesource_class_init (GESTimelineFileSourceClass * klass)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
|
||||
|
||||
object_class->get_property = ges_tl_filesource_get_property;
|
||||
object_class->set_property = ges_tl_filesource_set_property;
|
||||
object_class->finalize = ges_tl_filesource_finalize;
|
||||
object_class->get_property = ges_timeline_filesource_get_property;
|
||||
object_class->set_property = ges_timeline_filesource_set_property;
|
||||
object_class->finalize = ges_timeline_filesource_finalize;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -183,19 +184,20 @@ ges_tl_filesource_class_init (GESTimelineFileSourceClass * klass)
|
|||
"Whether the timeline object represents a still image or not",
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
|
||||
timobj_class->create_track_object = ges_tl_filesource_create_track_object;
|
||||
timobj_class->create_track_object =
|
||||
ges_timeline_filesource_create_track_object;
|
||||
timobj_class->need_fill_track = FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
ges_tl_filesource_init (GESTimelineFileSource * self)
|
||||
ges_timeline_filesource_init (GESTimelineFileSource * self)
|
||||
{
|
||||
/* Setting the duration to -1 by default. */
|
||||
GES_TIMELINE_OBJECT (self)->duration = GST_CLOCK_TIME_NONE;
|
||||
}
|
||||
|
||||
static void
|
||||
ges_tl_filesource_set_mute (GESTimelineFileSource * self, gboolean mute)
|
||||
ges_timeline_filesource_set_mute (GESTimelineFileSource * self, gboolean mute)
|
||||
{
|
||||
GList *tmp, *trackobjects;
|
||||
GESTimelineObject *object = (GESTimelineObject *) self;
|
||||
|
@ -218,7 +220,7 @@ ges_tl_filesource_set_mute (GESTimelineFileSource * self, gboolean mute)
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_filesource_set_max_duration (GESTimelineFileSource * self,
|
||||
ges_timeline_filesource_set_max_duration (GESTimelineFileSource * self,
|
||||
guint64 maxduration)
|
||||
{
|
||||
GESTimelineObject *object = GES_TIMELINE_OBJECT (self);
|
||||
|
@ -231,7 +233,7 @@ ges_tl_filesource_set_max_duration (GESTimelineFileSource * self,
|
|||
}
|
||||
|
||||
static GESTrackObject *
|
||||
ges_tl_filesource_create_track_object (GESTimelineObject * obj,
|
||||
ges_timeline_filesource_create_track_object (GESTimelineObject * obj,
|
||||
GESTrack * track)
|
||||
{
|
||||
GESTimelineFileSource *tfs = (GESTimelineFileSource *) obj;
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef _GES_TL_FILESOURCE
|
||||
#define _GES_TL_FILESOURCE
|
||||
#ifndef _GES_TIMELINE_FILESOURCE
|
||||
#define _GES_TIMELINE_FILESOURCE
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <ges/ges-types.h>
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GES_TYPE_TIMELINE_FILE_SOURCE ges_tl_filesource_get_type()
|
||||
#define GES_TYPE_TIMELINE_FILE_SOURCE ges_timeline_filesource_get_type()
|
||||
|
||||
#define GES_TIMELINE_FILE_SOURCE(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_TIMELINE_FILE_SOURCE, GESTimelineFileSource))
|
||||
|
@ -81,11 +81,11 @@ struct _GESTimelineFileSourceClass {
|
|||
gpointer _ges_reserved[GES_PADDING];
|
||||
};
|
||||
|
||||
GType ges_tl_filesource_get_type (void);
|
||||
GType ges_timeline_filesource_get_type (void);
|
||||
|
||||
GESTimelineFileSource* ges_timeline_filesource_new (gchar *uri);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _GES_TL_FILESOURCE */
|
||||
#endif /* _GES_TIMELINE_FILESOURCE */
|
||||
|
||||
|
|
|
@ -337,15 +337,15 @@ ges_timeline_object_add_track_object (GESTimelineObject * object, GESTrackObject
|
|||
/**
|
||||
* ges_timeline_object_release_track_object:
|
||||
* @object: a #GESTimelineObject
|
||||
* @trobj: the #GESTrackObject to release
|
||||
* @trackobject: the #GESTrackObject to release
|
||||
*/
|
||||
gboolean
|
||||
ges_timeline_object_release_track_object (GESTimelineObject * object,
|
||||
GESTrackObject * trobj)
|
||||
GESTrackObject * trackobject)
|
||||
{
|
||||
GST_DEBUG ("object:%p, trackobject:%p", object, trobj);
|
||||
GST_DEBUG ("object:%p, trackobject:%p", object, trackobject);
|
||||
|
||||
if (!(g_list_find (object->priv->trackobjects, trobj))) {
|
||||
if (!(g_list_find (object->priv->trackobjects, trackobject))) {
|
||||
GST_WARNING ("TrackObject isn't controlled by this object");
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -354,11 +354,11 @@ ges_timeline_object_release_track_object (GESTimelineObject * object,
|
|||
* If so, add a new virtual-method */
|
||||
|
||||
object->priv->trackobjects =
|
||||
g_list_remove (object->priv->trackobjects, trobj);
|
||||
g_list_remove (object->priv->trackobjects, trackobject);
|
||||
|
||||
ges_track_object_set_timeline_object (trobj, NULL);
|
||||
ges_track_object_set_timeline_object (trackobject, NULL);
|
||||
|
||||
g_object_unref (trobj);
|
||||
g_object_unref (trackobject);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -550,7 +550,7 @@ ges_timeline_object_get_layer (GESTimelineObject * object)
|
|||
|
||||
/**
|
||||
* ges_timeline_object_get_track_objects:
|
||||
* @obj: a #GESTimelineObject
|
||||
* @object: a #GESTimelineObject
|
||||
*
|
||||
* Returns: The list of trackobject contained in @object.
|
||||
* The user is responsible for unreffing the contained objects
|
||||
|
|
|
@ -47,7 +47,7 @@ G_BEGIN_DECLS
|
|||
typedef struct _GESTimelineObjectPrivate GESTimelineObjectPrivate;
|
||||
|
||||
/**
|
||||
* FillTrackObjectFunc:
|
||||
* GESFillTrackObjectFunc:
|
||||
* @object: the #GESTimelineObject controlling the track object
|
||||
* @trobject: the #GESTrackObject
|
||||
* @gnlobj: the GNonLin object that needs to be filled.
|
||||
|
@ -60,7 +60,7 @@ typedef struct _GESTimelineObjectPrivate GESTimelineObjectPrivate;
|
|||
*
|
||||
* Returns: TRUE if the implementer succesfully filled the @gnlobj, else #FALSE.
|
||||
*/
|
||||
typedef gboolean (*FillTrackObjectFunc) (GESTimelineObject * object,
|
||||
typedef gboolean (*GESFillTrackObjectFunc) (GESTimelineObject * object,
|
||||
GESTrackObject * trobject,
|
||||
GstElement * gnlobj);
|
||||
|
||||
|
@ -193,7 +193,7 @@ struct _GESTimelineObjectClass {
|
|||
CreateTrackObjectsFunc create_track_objects;
|
||||
|
||||
/* FIXME : might need a release_track_object */
|
||||
FillTrackObjectFunc fill_track_object;
|
||||
GESFillTrackObjectFunc fill_track_object;
|
||||
gboolean need_fill_track;
|
||||
|
||||
/*< private >*/
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "ges-track-text-overlay.h"
|
||||
#include <string.h>
|
||||
|
||||
G_DEFINE_TYPE (GESTimelineTextOverlay, ges_tl_text_overlay,
|
||||
G_DEFINE_TYPE (GESTimelineTextOverlay, ges_timeline_text_overlay,
|
||||
GES_TYPE_TIMELINE_OVERLAY);
|
||||
|
||||
#define DEFAULT_PROP_TEXT ""
|
||||
|
@ -57,27 +57,27 @@ enum
|
|||
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_set_text (GESTimelineTextOverlay * self,
|
||||
ges_timeline_text_overlay_set_text (GESTimelineTextOverlay * self,
|
||||
const gchar * text);
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_set_font_desc (GESTimelineTextOverlay * self, const gchar *
|
||||
font_desc);
|
||||
ges_timeline_text_overlay_set_font_desc (GESTimelineTextOverlay * self,
|
||||
const gchar * font_desc);
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_set_valign (GESTimelineTextOverlay * self,
|
||||
ges_timeline_text_overlay_set_valign (GESTimelineTextOverlay * self,
|
||||
GESTextVAlign valign);
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_set_halign (GESTimelineTextOverlay * self,
|
||||
ges_timeline_text_overlay_set_halign (GESTimelineTextOverlay * self,
|
||||
GESTextHAlign halign);
|
||||
|
||||
static GESTrackObject
|
||||
* ges_tl_text_overlay_create_track_object (GESTimelineObject * obj,
|
||||
* ges_timeline_text_overlay_create_track_object (GESTimelineObject * obj,
|
||||
GESTrack * track);
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_get_property (GObject * object, guint property_id,
|
||||
ges_timeline_text_overlay_get_property (GObject * object, guint property_id,
|
||||
GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
GESTimelineTextOverlay *tfs = GES_TIMELINE_TEXT_OVERLAY (object);
|
||||
|
@ -101,23 +101,23 @@ ges_tl_text_overlay_get_property (GObject * object, guint property_id,
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_set_property (GObject * object, guint property_id,
|
||||
ges_timeline_text_overlay_set_property (GObject * object, guint property_id,
|
||||
const GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
GESTimelineTextOverlay *tfs = GES_TIMELINE_TEXT_OVERLAY (object);
|
||||
|
||||
switch (property_id) {
|
||||
case PROP_TEXT:
|
||||
ges_tl_text_overlay_set_text (tfs, g_value_get_string (value));
|
||||
ges_timeline_text_overlay_set_text (tfs, g_value_get_string (value));
|
||||
break;
|
||||
case PROP_FONT_DESC:
|
||||
ges_tl_text_overlay_set_font_desc (tfs, g_value_get_string (value));
|
||||
ges_timeline_text_overlay_set_font_desc (tfs, g_value_get_string (value));
|
||||
break;
|
||||
case PROP_HALIGNMENT:
|
||||
ges_tl_text_overlay_set_halign (tfs, g_value_get_enum (value));
|
||||
ges_timeline_text_overlay_set_halign (tfs, g_value_get_enum (value));
|
||||
break;
|
||||
case PROP_VALIGNMENT:
|
||||
ges_tl_text_overlay_set_valign (tfs, g_value_get_enum (value));
|
||||
ges_timeline_text_overlay_set_valign (tfs, g_value_get_enum (value));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
|
||||
|
@ -125,7 +125,7 @@ ges_tl_text_overlay_set_property (GObject * object, guint property_id,
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_dispose (GObject * object)
|
||||
ges_timeline_text_overlay_dispose (GObject * object)
|
||||
{
|
||||
GESTimelineTextOverlay *self = GES_TIMELINE_TEXT_OVERLAY (object);
|
||||
|
||||
|
@ -134,20 +134,20 @@ ges_tl_text_overlay_dispose (GObject * object)
|
|||
if (self->font_desc)
|
||||
g_free (self->font_desc);
|
||||
|
||||
G_OBJECT_CLASS (ges_tl_text_overlay_parent_class)->dispose (object);
|
||||
G_OBJECT_CLASS (ges_timeline_text_overlay_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_class_init (GESTimelineTextOverlayClass * klass)
|
||||
ges_timeline_text_overlay_class_init (GESTimelineTextOverlayClass * klass)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
|
||||
|
||||
g_type_class_add_private (klass, sizeof (GESTimelineTextOverlayPrivate));
|
||||
|
||||
object_class->get_property = ges_tl_text_overlay_get_property;
|
||||
object_class->set_property = ges_tl_text_overlay_set_property;
|
||||
object_class->dispose = ges_tl_text_overlay_dispose;
|
||||
object_class->get_property = ges_timeline_text_overlay_get_property;
|
||||
object_class->set_property = ges_timeline_text_overlay_set_property;
|
||||
object_class->dispose = ges_timeline_text_overlay_dispose;
|
||||
|
||||
/**
|
||||
* GESTimelineTextOverlay:text
|
||||
|
@ -193,12 +193,13 @@ ges_tl_text_overlay_class_init (GESTimelineTextOverlayClass * klass)
|
|||
GES_TEXT_HALIGN_TYPE, DEFAULT_PROP_HALIGNMENT,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
timobj_class->create_track_object = ges_tl_text_overlay_create_track_object;
|
||||
timobj_class->create_track_object =
|
||||
ges_timeline_text_overlay_create_track_object;
|
||||
timobj_class->need_fill_track = FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_init (GESTimelineTextOverlay * self)
|
||||
ges_timeline_text_overlay_init (GESTimelineTextOverlay * self)
|
||||
{
|
||||
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
|
||||
GES_TYPE_TIMELINE_TEXT_OVERLAY, GESTimelineTextOverlayPrivate);
|
||||
|
@ -212,7 +213,8 @@ ges_tl_text_overlay_init (GESTimelineTextOverlay * self)
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_set_text (GESTimelineTextOverlay * self, const gchar * text)
|
||||
ges_timeline_text_overlay_set_text (GESTimelineTextOverlay * self,
|
||||
const gchar * text)
|
||||
{
|
||||
GList *tmp, *trackobjects;
|
||||
GESTimelineObject *object = (GESTimelineObject *) self;
|
||||
|
@ -238,8 +240,8 @@ ges_tl_text_overlay_set_text (GESTimelineTextOverlay * self, const gchar * text)
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_set_font_desc (GESTimelineTextOverlay * self, const gchar *
|
||||
font_desc)
|
||||
ges_timeline_text_overlay_set_font_desc (GESTimelineTextOverlay * self,
|
||||
const gchar * font_desc)
|
||||
{
|
||||
GList *tmp, *trackobjects;
|
||||
GESTimelineObject *object = (GESTimelineObject *) self;
|
||||
|
@ -266,7 +268,7 @@ ges_tl_text_overlay_set_font_desc (GESTimelineTextOverlay * self, const gchar *
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_set_halign (GESTimelineTextOverlay * self,
|
||||
ges_timeline_text_overlay_set_halign (GESTimelineTextOverlay * self,
|
||||
GESTextHAlign halign)
|
||||
{
|
||||
GList *tmp, *trackobjects;
|
||||
|
@ -291,7 +293,7 @@ ges_tl_text_overlay_set_halign (GESTimelineTextOverlay * self,
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_text_overlay_set_valign (GESTimelineTextOverlay * self,
|
||||
ges_timeline_text_overlay_set_valign (GESTimelineTextOverlay * self,
|
||||
GESTextVAlign valign)
|
||||
{
|
||||
GList *tmp, *trackobjects;
|
||||
|
@ -316,7 +318,7 @@ ges_tl_text_overlay_set_valign (GESTimelineTextOverlay * self,
|
|||
}
|
||||
|
||||
static GESTrackObject *
|
||||
ges_tl_text_overlay_create_track_object (GESTimelineObject * obj,
|
||||
ges_timeline_text_overlay_create_track_object (GESTimelineObject * obj,
|
||||
GESTrack * track)
|
||||
{
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GES_TYPE_TIMELINE_TEXT_OVERLAY ges_tl_text_overlay_get_type()
|
||||
#define GES_TYPE_TIMELINE_TEXT_OVERLAY ges_timeline_text_overlay_get_type()
|
||||
|
||||
#define GES_TIMELINE_TEXT_OVERLAY(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_TIMELINE_TEXT_OVERLAY, GESTimelineTextOverlay))
|
||||
|
@ -81,7 +81,7 @@ struct _GESTimelineTextOverlayClass {
|
|||
gpointer _ges_reserved[GES_PADDING];
|
||||
};
|
||||
|
||||
GType ges_tl_text_overlay_get_type (void);
|
||||
GType ges_timeline_text_overlay_get_type (void);
|
||||
|
||||
GESTimelineTextOverlay* ges_timeline_text_overlay_new (void);
|
||||
|
||||
|
|
|
@ -36,13 +36,13 @@
|
|||
#include "ges-track-audio-test-source.h"
|
||||
#include <string.h>
|
||||
|
||||
G_DEFINE_TYPE (GESTimelineTitleSource, ges_tl_title_src,
|
||||
G_DEFINE_TYPE (GESTimelineTitleSource, ges_timeline_title_source,
|
||||
GES_TYPE_TIMELINE_SOURCE);
|
||||
|
||||
#define DEFAULT_TEXT ""
|
||||
#define DEFAULT_FONT_DESC "Serif 36"
|
||||
#define GES_TIMELINE_TITLE_SRC_VALIGN_TYPE (ges_timeline_title_source_valign_get_type())
|
||||
#define GES_TIMELINE_TITLE_SRC_HALIGN_TYPE (ges_timeline_title_source_halign_get_type())
|
||||
#define GES_TIMELINE_TITLE_SOURCE_VALIGN_TYPE (ges_timeline_title_source_valign_get_type())
|
||||
#define GES_TIMELINE_TITLE_SOURCE_HALIGN_TYPE (ges_timeline_title_source_halign_get_type())
|
||||
|
||||
struct _GESTimelineTitleSourcePrivate
|
||||
{
|
||||
|
@ -61,28 +61,31 @@ enum
|
|||
};
|
||||
|
||||
static void
|
||||
ges_tl_title_src_set_mute (GESTimelineTitleSource * self, gboolean mute);
|
||||
ges_timeline_title_source_set_mute (GESTimelineTitleSource * self,
|
||||
gboolean mute);
|
||||
|
||||
static void
|
||||
ges_tl_title_src_set_text (GESTimelineTitleSource * self, const gchar * text);
|
||||
ges_timeline_title_source_set_text (GESTimelineTitleSource * self,
|
||||
const gchar * text);
|
||||
|
||||
static void
|
||||
ges_tl_title_src_set_font_desc (GESTimelineTitleSource * self, const gchar *
|
||||
font_desc);
|
||||
ges_timeline_title_source_set_font_desc (GESTimelineTitleSource * self,
|
||||
const gchar * font_desc);
|
||||
|
||||
static void
|
||||
ges_tl_title_src_set_valign (GESTimelineTitleSource * self,
|
||||
ges_timeline_title_source_set_valign (GESTimelineTitleSource * self,
|
||||
GESTextVAlign valign);
|
||||
|
||||
static void
|
||||
ges_tl_title_src_set_halign (GESTimelineTitleSource * self,
|
||||
ges_timeline_title_source_set_halign (GESTimelineTitleSource * self,
|
||||
GESTextHAlign halign);
|
||||
|
||||
static GESTrackObject *ges_tl_title_src_create_track_object (GESTimelineObject *
|
||||
obj, GESTrack * track);
|
||||
static GESTrackObject
|
||||
* ges_timeline_title_source_create_track_object (GESTimelineObject * obj,
|
||||
GESTrack * track);
|
||||
|
||||
static void
|
||||
ges_tl_title_src_get_property (GObject * object, guint property_id,
|
||||
ges_timeline_title_source_get_property (GObject * object, guint property_id,
|
||||
GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
GESTimelineTitleSource *tfs = GES_TIMELINE_TITLE_SOURCE (object);
|
||||
|
@ -109,26 +112,26 @@ ges_tl_title_src_get_property (GObject * object, guint property_id,
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_title_src_set_property (GObject * object, guint property_id,
|
||||
ges_timeline_title_source_set_property (GObject * object, guint property_id,
|
||||
const GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
GESTimelineTitleSource *tfs = GES_TIMELINE_TITLE_SOURCE (object);
|
||||
|
||||
switch (property_id) {
|
||||
case PROP_MUTE:
|
||||
ges_tl_title_src_set_mute (tfs, g_value_get_boolean (value));
|
||||
ges_timeline_title_source_set_mute (tfs, g_value_get_boolean (value));
|
||||
break;
|
||||
case PROP_TEXT:
|
||||
ges_tl_title_src_set_text (tfs, g_value_get_string (value));
|
||||
ges_timeline_title_source_set_text (tfs, g_value_get_string (value));
|
||||
break;
|
||||
case PROP_FONT_DESC:
|
||||
ges_tl_title_src_set_font_desc (tfs, g_value_get_string (value));
|
||||
ges_timeline_title_source_set_font_desc (tfs, g_value_get_string (value));
|
||||
break;
|
||||
case PROP_HALIGNMENT:
|
||||
ges_tl_title_src_set_halign (tfs, g_value_get_enum (value));
|
||||
ges_timeline_title_source_set_halign (tfs, g_value_get_enum (value));
|
||||
break;
|
||||
case PROP_VALIGNMENT:
|
||||
ges_tl_title_src_set_valign (tfs, g_value_get_enum (value));
|
||||
ges_timeline_title_source_set_valign (tfs, g_value_get_enum (value));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
|
||||
|
@ -136,7 +139,7 @@ ges_tl_title_src_set_property (GObject * object, guint property_id,
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_title_src_dispose (GObject * object)
|
||||
ges_timeline_title_source_dispose (GObject * object)
|
||||
{
|
||||
GESTimelineTitleSource *self = GES_TIMELINE_TITLE_SOURCE (object);
|
||||
|
||||
|
@ -145,20 +148,20 @@ ges_tl_title_src_dispose (GObject * object)
|
|||
if (self->font_desc)
|
||||
g_free (self->font_desc);
|
||||
|
||||
G_OBJECT_CLASS (ges_tl_title_src_parent_class)->dispose (object);
|
||||
G_OBJECT_CLASS (ges_timeline_title_source_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
static void
|
||||
ges_tl_title_src_class_init (GESTimelineTitleSourceClass * klass)
|
||||
ges_timeline_title_source_class_init (GESTimelineTitleSourceClass * klass)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
|
||||
|
||||
g_type_class_add_private (klass, sizeof (GESTimelineTitleSourcePrivate));
|
||||
|
||||
object_class->get_property = ges_tl_title_src_get_property;
|
||||
object_class->set_property = ges_tl_title_src_set_property;
|
||||
object_class->dispose = ges_tl_title_src_dispose;
|
||||
object_class->get_property = ges_timeline_title_source_get_property;
|
||||
object_class->set_property = ges_timeline_title_source_set_property;
|
||||
object_class->dispose = ges_timeline_title_source_dispose;
|
||||
|
||||
/**
|
||||
* GESTimelineTitleSource:text:
|
||||
|
@ -210,12 +213,13 @@ ges_tl_title_src_class_init (GESTimelineTitleSourceClass * klass)
|
|||
g_param_spec_boolean ("mute", "Mute", "Mute audio track",
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
|
||||
timobj_class->create_track_object = ges_tl_title_src_create_track_object;
|
||||
timobj_class->create_track_object =
|
||||
ges_timeline_title_source_create_track_object;
|
||||
timobj_class->need_fill_track = FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
ges_tl_title_src_init (GESTimelineTitleSource * self)
|
||||
ges_timeline_title_source_init (GESTimelineTitleSource * self)
|
||||
{
|
||||
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
|
||||
GES_TYPE_TIMELINE_TITLE_SOURCE, GESTimelineTitleSourcePrivate);
|
||||
|
@ -230,7 +234,8 @@ ges_tl_title_src_init (GESTimelineTitleSource * self)
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_title_src_set_text (GESTimelineTitleSource * self, const gchar * text)
|
||||
ges_timeline_title_source_set_text (GESTimelineTitleSource * self,
|
||||
const gchar * text)
|
||||
{
|
||||
GList *tmp, *trackobjects;
|
||||
GESTimelineObject *object = (GESTimelineObject *) self;
|
||||
|
@ -257,8 +262,8 @@ ges_tl_title_src_set_text (GESTimelineTitleSource * self, const gchar * text)
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_title_src_set_font_desc (GESTimelineTitleSource * self, const gchar *
|
||||
font_desc)
|
||||
ges_timeline_title_source_set_font_desc (GESTimelineTitleSource * self,
|
||||
const gchar * font_desc)
|
||||
{
|
||||
GList *tmp, *trackobjects;
|
||||
GESTimelineObject *object = (GESTimelineObject *) self;
|
||||
|
@ -285,7 +290,7 @@ ges_tl_title_src_set_font_desc (GESTimelineTitleSource * self, const gchar *
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_title_src_set_halign (GESTimelineTitleSource * self,
|
||||
ges_timeline_title_source_set_halign (GESTimelineTitleSource * self,
|
||||
GESTextHAlign halign)
|
||||
{
|
||||
GList *tmp, *trackobjects;
|
||||
|
@ -310,7 +315,7 @@ ges_tl_title_src_set_halign (GESTimelineTitleSource * self,
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_title_src_set_valign (GESTimelineTitleSource * self,
|
||||
ges_timeline_title_source_set_valign (GESTimelineTitleSource * self,
|
||||
GESTextVAlign valign)
|
||||
{
|
||||
GList *tmp, *trackobjects;
|
||||
|
@ -335,7 +340,8 @@ ges_tl_title_src_set_valign (GESTimelineTitleSource * self,
|
|||
}
|
||||
|
||||
static void
|
||||
ges_tl_title_src_set_mute (GESTimelineTitleSource * self, gboolean mute)
|
||||
ges_timeline_title_source_set_mute (GESTimelineTitleSource * self,
|
||||
gboolean mute)
|
||||
{
|
||||
GList *tmp, *trackobjects;
|
||||
GESTimelineObject *object = (GESTimelineObject *) self;
|
||||
|
@ -359,7 +365,8 @@ ges_tl_title_src_set_mute (GESTimelineTitleSource * self, gboolean mute)
|
|||
}
|
||||
|
||||
static GESTrackObject *
|
||||
ges_tl_title_src_create_track_object (GESTimelineObject * obj, GESTrack * track)
|
||||
ges_timeline_title_source_create_track_object (GESTimelineObject * obj,
|
||||
GESTrack * track)
|
||||
{
|
||||
|
||||
GESTimelineTitleSource *tfs = (GESTimelineTitleSource *) obj;
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef _GES_TL_TITLESOURCE
|
||||
#define _GES_TL_TITLESOURCE
|
||||
#ifndef _GES_TIMELINE_TITLESOURCE
|
||||
#define _GES_TIMELINE_TITLESOURCE
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <ges/ges-types.h>
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GES_TYPE_TIMELINE_TITLE_SOURCE ges_tl_title_src_get_type()
|
||||
#define GES_TYPE_TIMELINE_TITLE_SOURCE ges_timeline_title_source_get_type()
|
||||
|
||||
#define GES_TIMELINE_TITLE_SOURCE(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_TIMELINE_TITLE_SOURCE, GESTimelineTitleSource))
|
||||
|
@ -77,11 +77,11 @@ struct _GESTimelineTitleSourceClass {
|
|||
gpointer _ges_reserved[GES_PADDING];
|
||||
};
|
||||
|
||||
GType ges_tl_title_src_get_type (void);
|
||||
GType ges_timeline_title_source_get_type (void);
|
||||
|
||||
GESTimelineTitleSource* ges_timeline_title_source_new (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _GES_TL_TITLESOURCE */
|
||||
#endif /* _GES_TIMELINE_TITLESOURCE */
|
||||
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
#include "ges-track-title-source.h"
|
||||
#include "ges-track-video-test-source.h"
|
||||
|
||||
G_DEFINE_TYPE (GESTrackTitleSource, ges_track_title_src, GES_TYPE_TRACK_SOURCE);
|
||||
G_DEFINE_TYPE (GESTrackTitleSource, ges_track_title_source,
|
||||
GES_TYPE_TRACK_SOURCE);
|
||||
|
||||
struct _GESTrackTitleSourcePrivate
|
||||
{
|
||||
|
@ -42,33 +43,34 @@ enum
|
|||
PROP_0,
|
||||
};
|
||||
|
||||
static void ges_track_title_src_dispose (GObject * object);
|
||||
static void ges_track_title_source_dispose (GObject * object);
|
||||
|
||||
static void ges_track_title_src_get_property (GObject * object, guint
|
||||
static void ges_track_title_source_get_property (GObject * object, guint
|
||||
property_id, GValue * value, GParamSpec * pspec);
|
||||
|
||||
static void ges_track_title_src_set_property (GObject * object, guint
|
||||
static void ges_track_title_source_set_property (GObject * object, guint
|
||||
property_id, const GValue * value, GParamSpec * pspec);
|
||||
|
||||
static GstElement *ges_track_title_src_create_element (GESTrackObject * self);
|
||||
static GstElement *ges_track_title_source_create_element (GESTrackObject *
|
||||
self);
|
||||
|
||||
static void
|
||||
ges_track_title_src_class_init (GESTrackTitleSourceClass * klass)
|
||||
ges_track_title_source_class_init (GESTrackTitleSourceClass * klass)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
GESTrackObjectClass *bg_class = GES_TRACK_OBJECT_CLASS (klass);
|
||||
|
||||
g_type_class_add_private (klass, sizeof (GESTrackTitleSourcePrivate));
|
||||
|
||||
object_class->get_property = ges_track_title_src_get_property;
|
||||
object_class->set_property = ges_track_title_src_set_property;
|
||||
object_class->dispose = ges_track_title_src_dispose;
|
||||
object_class->get_property = ges_track_title_source_get_property;
|
||||
object_class->set_property = ges_track_title_source_set_property;
|
||||
object_class->dispose = ges_track_title_source_dispose;
|
||||
|
||||
bg_class->create_element = ges_track_title_src_create_element;
|
||||
bg_class->create_element = ges_track_title_source_create_element;
|
||||
}
|
||||
|
||||
static void
|
||||
ges_track_title_src_init (GESTrackTitleSource * self)
|
||||
ges_track_title_source_init (GESTrackTitleSource * self)
|
||||
{
|
||||
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
|
||||
GES_TYPE_TRACK_TITLE_SOURCE, GESTrackTitleSourcePrivate);
|
||||
|
@ -82,7 +84,7 @@ ges_track_title_src_init (GESTrackTitleSource * self)
|
|||
}
|
||||
|
||||
static void
|
||||
ges_track_title_src_dispose (GObject * object)
|
||||
ges_track_title_source_dispose (GObject * object)
|
||||
{
|
||||
GESTrackTitleSource *self = GES_TRACK_TITLE_SOURCE (object);
|
||||
if (self->text) {
|
||||
|
@ -103,11 +105,11 @@ ges_track_title_src_dispose (GObject * object)
|
|||
self->background_el = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (ges_track_title_src_parent_class)->dispose (object);
|
||||
G_OBJECT_CLASS (ges_track_title_source_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
static void
|
||||
ges_track_title_src_get_property (GObject * object,
|
||||
ges_track_title_source_get_property (GObject * object,
|
||||
guint property_id, GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
switch (property_id) {
|
||||
|
@ -117,7 +119,7 @@ ges_track_title_src_get_property (GObject * object,
|
|||
}
|
||||
|
||||
static void
|
||||
ges_track_title_src_set_property (GObject * object,
|
||||
ges_track_title_source_set_property (GObject * object,
|
||||
guint property_id, const GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
switch (property_id) {
|
||||
|
@ -127,7 +129,7 @@ ges_track_title_src_set_property (GObject * object,
|
|||
}
|
||||
|
||||
static GstElement *
|
||||
ges_track_title_src_create_element (GESTrackObject * object)
|
||||
ges_track_title_source_create_element (GESTrackObject * object)
|
||||
{
|
||||
GESTrackTitleSource *self = GES_TRACK_TITLE_SOURCE (object);
|
||||
GstElement *topbin, *background, *text;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GES_TYPE_TRACK_TITLE_SOURCE ges_track_title_src_get_type()
|
||||
#define GES_TYPE_TRACK_TITLE_SOURCE ges_track_title_source_get_type()
|
||||
|
||||
#define GES_TRACK_TITLE_SOURCE(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_TRACK_TITLE_SOURCE, GESTrackTitleSource))
|
||||
|
@ -81,7 +81,7 @@ struct _GESTrackTitleSourceClass {
|
|||
gpointer _ges_reserved[GES_PADDING];
|
||||
};
|
||||
|
||||
GType ges_track_title_src_get_type (void);
|
||||
GType ges_track_title_source_get_type (void);
|
||||
|
||||
void ges_track_title_source_set_text(GESTrackTitleSource *self, const
|
||||
gchar *text);
|
||||
|
|
|
@ -93,10 +93,8 @@ struct _GESTrackVideoTransitionClass {
|
|||
|
||||
GType ges_track_video_transition_get_type (void);
|
||||
|
||||
gboolean
|
||||
ges_track_video_transition_set_type (GESTrackVideoTransition * self,
|
||||
GESVideoStandardTransitionType type);
|
||||
;
|
||||
gboolean ges_track_video_transition_set_type (GESTrackVideoTransition * self,
|
||||
GESVideoStandardTransitionType type);
|
||||
|
||||
GESTrackVideoTransition* ges_track_video_transition_new (void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue