ges: Add APIs to have a sens of frame numbers
authorThibault Saunier <tsaunier@igalia.com>
Fri, 21 Feb 2020 12:17:11 +0000 (09:17 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Wed, 25 Mar 2020 14:26:29 +0000 (11:26 -0300)
commite835042f0475a0731f65c35b0b99b493f4e2abd0
treedb15b871b682844c5bce7955cba2cf9d6d4c700f
parente8a69f556303774adb9bad53fb4d072c24a41cbd
ges: Add APIs to have a sens of frame numbers

APIs:
   - ges_timeline_get_frame_time
   - ges_timeline_get_frame_at
   - ges_clip_asset_get_frame_time
   - ges_clip_get_timeline_time_from_source_frame

Extracting ges_util_structure_get_clocktime to internal utilities adding
support for specifying timing values in frames with the special
f<frame-number> synthax.
16 files changed:
ges/ges-clip-asset.c
ges/ges-clip-asset.h
ges/ges-clip.c
ges/ges-clip.h
ges/ges-command-line-formatter.c
ges/ges-gerror.h
ges/ges-internal.h
ges/ges-structured-interface.c
ges/ges-timeline.c
ges/ges-timeline.h
ges/ges-types.h
ges/ges-utils.c
ges/ges-validate.c
tests/check/meson.build
tests/check/scenarios/check_edit_in_frames.scenario [new file with mode: 0644]
tests/check/scenarios/check_edit_in_frames_with_framerate_mismatch.scenario [new file with mode: 0644]