Commit graph

450 commits

Author SHA1 Message Date
Brandon Lewis
6e844f877f layer is also invalid when there are transitoins at the beginning/end 2010-09-02 18:08:43 +02:00
Brandon Lewis
03e488ac74 add vaid property and unit tests 2010-09-02 18:08:43 +02:00
Brandon Lewis
719c2ad0a5 add doc comment for object-moved signal 2010-09-02 18:08:43 +02:00
Brandon Lewis
cd9ad5302e add object-moved signal to simple timeline layer 2010-09-02 18:08:43 +02:00
Edward Hervey
c3d98ca5ea GESTrackObject: Fix debug statement 2010-09-02 17:55:20 +02:00
Edward Hervey
f6d0de047a GESTimelineFileSource: Don't leak strings 2010-09-01 17:04:26 +02:00
Brandon Lewis
2f07308cd9 deactivate overlay when no text is present 2010-09-01 16:56:04 +02:00
Brandon Lewis
1052532f5a expose text, font-desc, and alignment properties in GESTimelineSource 2010-09-01 16:56:04 +02:00
Brandon Lewis
ba00ee2bfd fix typo in docstring 2010-09-01 16:56:04 +02:00
Brandon Lewis
dd6f39594a add conversion elements to TrackTextOverlay 2010-09-01 16:56:04 +02:00
Brandon Lewis
eb3be94578 tweak gstl recalculate: cur track object sets priority for next transition 2010-09-01 16:56:03 +02:00
Brandon Lewis
3b1a0d756d add type argument to ges_timeline_object_find_track_objects() 2010-09-01 16:56:03 +02:00
Brandon Lewis
420badca90 don't add the same track object twice 2010-09-01 16:56:03 +02:00
Brandon Lewis
e6b24d8749 check for proper instance type in _set_* functions 2010-09-01 16:56:03 +02:00
Brandon Lewis
c4ac72dedb fix documentation comment 2010-09-01 16:56:03 +02:00
Brandon Lewis
1966efd927 create a text overlay with default text for every TimelineSource 2010-09-01 16:56:03 +02:00
Brandon Lewis
efbc4a22cd increase default priority offset for sources; update unit tests 2010-09-01 16:56:03 +02:00
Brandon Lewis
0e07ea40f7 move this commit down where it belongs 2010-09-01 16:56:03 +02:00
Brandon Lewis
4683b042f6 override create_track_objects (plural) in TimelineSource 2010-09-01 16:56:03 +02:00
Brandon Lewis
a9c3628b5a update height when track object priority offset changes 2010-09-01 16:56:02 +02:00
Brandon Lewis
6667956ceb reword priority documentation comments 2010-09-01 16:56:02 +02:00
Brandon Lewis
6c6d4911cd use object height in gstl recalcuate 2010-09-01 16:56:02 +02:00
Brandon Lewis
93936321da initialize height to 1 2010-09-01 16:56:02 +02:00
Brandon Lewis
d92d922c52 add accessor macro 2010-09-01 16:56:02 +02:00
Brandon Lewis
b02cf5b34e add height property 2010-09-01 16:56:02 +02:00
Brandon Lewis
ebdebc01ce document timelineobject::priority 2010-09-01 16:56:02 +02:00
Brandon Lewis
572f7ab4da expose priority-offset as a property 2010-09-01 16:56:02 +02:00
Brandon Lewis
03cf6c99b6 distinguish between base_priority, priority_offset, and gnl_priority 2010-09-01 16:56:02 +02:00
Brandon Lewis
03c1c76652 split timeline_object_add_track_object out of create_track_object 2010-09-01 16:56:02 +02:00
Brandon Lewis
cd7cefffa6 add create_track_objects 2010-09-01 16:56:01 +02:00
Brandon Lewis
dca01a3c0e add create_track_objects declarations 2010-09-01 16:56:01 +02:00
Brandon Lewis
d6d7eb8398 call create_track_objects in timeline.c 2010-09-01 16:56:01 +02:00
Edward Hervey
e28da66ceb GESTimelineTransition: Remove unneeded variable 2010-08-31 13:49:21 +02:00
Brandon Lewis
9c82a2841c allow borders on still image videoscale 2010-08-13 11:50:31 +02:00
Brandon Lewis
c9eba54506 always support audio on still images 2010-08-13 11:50:31 +02:00
Brandon Lewis
4408354819 remove ffmpegcolorspace after freeze (see 626518) 2010-08-13 11:50:31 +02:00
Brandon Lewis
598d883d53 don't set max duration on still images 2010-08-13 11:50:31 +02:00
Brandon Lewis
e095df1bc7 implement still image sources 2010-08-13 11:50:30 +02:00
Brandon Lewis
49fbc0b6d6 naive implementation of still images (seems broken) 2010-08-13 11:50:30 +02:00
Brandon Lewis
fe54413811 create GESTrackAudioTestSource for audio tracks when is-image is true 2010-08-13 11:50:30 +02:00
Brandon Lewis
56c26dd853 set 'is-image' property true when source has an image stream type 2010-08-13 11:50:30 +02:00
Brandon Lewis
f9bb4b274c create image sources when is_image is set to true 2010-08-13 11:50:30 +02:00
Brandon Lewis
e38cf5a3ad Add "is-image" property to GESTimelineFileSource 2010-08-13 11:50:30 +02:00
Brandon Lewis
9ba833c127 check in GESTrackImageSource 2010-08-13 11:50:30 +02:00
Edward Hervey
997e0287f9 ges: Also dist the generated files 2010-08-05 12:19:32 +02:00
Edward Hervey
f4245ed133 marshal: Fix typo in the Makefile that prevented marshal .c being built 2010-08-05 11:40:49 +02:00
Brandon Lewis
98298c00e5 link to the right sink pad on textoverlay object 2010-07-23 18:22:31 +02:00
Brandon Lewis
295d177d12 fwrite doesn't return the number of bytes written. check that fwrite is
non-zero and that ferror() isn't set instead.
2010-07-16 18:54:49 +02:00
Brandon Lewis
de54e7a312 don't plug encoders when raw caps are given 2010-07-16 18:54:48 +02:00
Brandon Lewis
085a4c4804 ges_caps_set_simple was being called incorrectly 2010-07-16 18:18:03 +02:00
Edward Hervey
6cc48991d6 ges: Don't forget to dist ges-timeline-overlay.h 2010-07-16 18:02:25 +02:00
Edward Hervey
fc62bc7518 TimelinePipeline: Make sure fwrite completes successfully 2010-07-16 17:29:05 +02:00
Brandon Lewis
bde192be3d add routine to save a thumbnail in the specified encoding 2010-07-16 17:22:19 +02:00
Brandon Lewis
74c58d9cdf add todo item 2010-07-16 17:22:19 +02:00
Brandon Lewis
0a548ffad9 factor encoder-finding code into separate function 2010-07-16 17:22:19 +02:00
Brandon Lewis
f487fe3fb8 use gstprofile to plug an encoder and encode the current frame 2010-07-16 17:22:18 +02:00
Brandon Lewis
70a040f760 add methods to retreive the current frame as a thumbnail 2010-07-16 17:22:18 +02:00
Brandon Lewis
f8c7b00a0f duplicate code from gstscreenshot.{c,h} and gstplaysink.{c,h} 2010-07-16 17:22:18 +02:00
Edward Hervey
df36ccabb9 GESTimelinePipeline: Use smartencoder feature from encodebin 2010-07-15 12:09:26 +02:00
Edward Hervey
b158c59202 GES: Switch to new fast pad linking 2010-07-14 13:29:23 +02:00
Brandon Lewis
66745d0695 Don't expose test source enum value table 2010-07-09 13:27:01 +02:00
Brandon Lewis
318abee5fb don't expose transition enum value table 2010-07-09 13:21:18 +02:00
Brandon Lewis
f64bc157bc use gtype to get the enum value for the nick 2010-07-09 13:21:18 +02:00
Brandon Lewis
770a16f5ce check whether setting vtype property actually succeeds 2010-07-09 13:21:18 +02:00
Brandon Lewis
33449efcd7 initialize transitions to type _TRANSITION_TYPE_NONE 2010-07-09 13:21:18 +02:00
Brandon Lewis
de8238031b add new invalid enum type 2010-07-09 13:21:18 +02:00
Brandon Lewis
4cd9fd5006 refactor duration_changed method as this is now a TrackObjectClass method 2010-07-09 13:21:18 +02:00
Brandon Lewis
847052077e remove notify::duration signal handler 2010-07-09 13:21:18 +02:00
Brandon Lewis
fee9f7fb67 add track object virtual methods for property change notifications 2010-07-09 13:21:18 +02:00
Brandon Lewis
b13bf26795 remove unneeded assertions 2010-07-09 13:21:18 +02:00
Brandon Lewis
31ffb87dde remove unneeded _new methods on certain base classes 2010-07-09 13:21:18 +02:00
Edward Hervey
919076f892 TrackTransition: Don't return anything for unhandled tracks 2010-07-09 13:21:18 +02:00
Edward Hervey
b30a85117c TrackTransition: Remove second argument from duration_changed vmethod
And get properties directly from parent classes instead
2010-07-09 13:21:17 +02:00
Edward Hervey
f107a01ede GES: whitespace fixes 2010-07-09 13:21:17 +02:00
Edward Hervey
8c8aa7393c GES: Simplify loops 2010-07-09 13:21:17 +02:00
Edward Hervey
11bd040ff1 GES: Remove un-needed branches
res it initialized to NULL
2010-07-09 13:21:17 +02:00
Edward Hervey
066ff4a9de GES: Fix initialization values 2010-07-09 13:21:17 +02:00
Edward Hervey
4708fbb4ca GES: Remove useless variables 2010-07-09 13:21:17 +02:00
Edward Hervey
8da8dda41f GES: Fix function prototypes 2010-07-09 13:21:17 +02:00
Edward Hervey
714a1025d6 TimelineTestSource: Set freq/volume whether mute or not 2010-07-09 13:21:17 +02:00
Edward Hervey
5a58ef53b4 TimelineOverlay: Fix doc 2010-07-09 13:21:17 +02:00
Edward Hervey
9fa220c0c0 TrackVideoTransition: Avoid switching from crossfade to other types
This now exposes a bug in the TimelineTransition, since it will have
a transition type different from its track objects.
2010-07-09 13:21:17 +02:00
Edward Hervey
f3c0d88e79 SimpleTimelineLayer: Fix top-level doc 2010-07-09 13:21:17 +02:00
Edward Hervey
d8d1e95952 TimelineLayer: Document _set_priority 2010-07-09 13:21:17 +02:00
Edward Hervey
c0e21a4a69 TrackVideoTransition: Use proper transition type 2010-07-09 13:21:17 +02:00
Edward Hervey
6dfc14b3e6 utils: Document timeline_new_audio_video 2010-07-09 13:21:16 +02:00
Brandon Lewis
7190943ddb make type field of video transition private 2010-07-09 13:21:16 +02:00
Brandon Lewis
5f3ef42e96 another massive documentation update 2010-07-09 13:21:16 +02:00
Brandon Lewis
12a2d3b3fe expose freq and volume props in GESTimelineTestSource 2010-07-09 13:21:16 +02:00
Brandon Lewis
fd7f9ac12f add routines to AudioTestSource to set freq and volume 2010-07-09 13:21:16 +02:00
Brandon Lewis
dcc0413945 remove 'mute' property from GESTimelineTextOverlay 2010-07-09 13:21:16 +02:00
Brandon Lewis
e4e800da50 fix incorrect type name strings 2010-07-09 13:21:16 +02:00
Brandon Lewis
9f71c1ff8c convert rest of code to use GESVideoTestPattern 2010-07-09 13:21:16 +02:00
Brandon Lewis
e73c98630e add GESVideoTestPattern enum 2010-07-09 13:21:16 +02:00
Brandon Lewis
ec803b0815 make sure to set properties on new track objects 2010-07-09 13:21:16 +02:00
Brandon Lewis
e588daf078 replace existing text position enums 2010-07-09 13:21:16 +02:00
Brandon Lewis
2bb344635b replace existing text position enums 2010-07-09 13:21:15 +02:00
Brandon Lewis
52bec51bff add text positioning enums 2010-07-09 13:21:15 +02:00
Brandon Lewis
cc719507ea move and rename TRANSITION_VTYPE into enums.h and rename 2010-07-09 13:21:15 +02:00
Brandon Lewis
babd78dbcd move track type enum to ges-enums.{h,c} 2010-07-09 13:21:15 +02:00
Brandon Lewis
b25befe29a check in skeletal ges-enums.{c,h} 2010-07-09 13:21:15 +02:00
Brandon Lewis
aec1fbd88c massive documentation updates 2010-07-09 13:21:15 +02:00
Brandon Lewis
aafd4d095a GESTimelineTextOverlay inherits from GESTimelineOverlay 2010-07-09 13:21:15 +02:00
Brandon Lewis
948dd9417a check in emtpy GESTimelineOverlay class 2010-07-09 13:21:15 +02:00
Brandon Lewis
521df03ddd GESTimelineOverlay -> GESTimelineTextOverlay 2010-07-09 13:21:15 +02:00
Brandon Lewis
e3718b4213 GESTimelineBackgroundSource -> GESTimelineTestSource 2010-07-09 13:21:15 +02:00
Brandon Lewis
1e7c1fa450 GESTrackAudioBackgroundSource -> GESTrackAudioTestSource 2010-07-09 13:21:14 +02:00
Brandon Lewis
ae8d9b1544 GESTrackVideoBackgroundSource -> GESTrackVideoTestSource 2010-07-09 13:21:14 +02:00
Brandon Lewis
890bbb084e GESTrackVideoOverlay -> GESTrackTextOverlay 2010-07-09 13:21:14 +02:00
Brandon Lewis
e134f1a5c9 remove GESTrackOverlay 2010-07-09 13:21:14 +02:00
Brandon Lewis
fc23c1f040 GESTrackVideoOverlay inherits directly from GESTrackOperation 2010-07-09 13:21:14 +02:00
Brandon Lewis
a4210a1ea4 check in GESTrackOperation 2010-07-09 13:21:14 +02:00
Brandon Lewis
6d2282ae58 documentation fixes 2010-07-09 13:21:14 +02:00
Brandon Lewis
526e37589b GESTrackVideoTitleSource -> GESTrackTitleSource 2010-07-09 13:21:14 +02:00
Brandon Lewis
44781f9e39 remove GESTrackTitleSource 2010-07-09 13:21:14 +02:00
Brandon Lewis
4aff8e0c9d fix doc comments 2010-07-09 13:21:14 +02:00
Brandon Lewis
9d310cf3ee GESTrackVideoTitleSource inherits directly from GESTrackObject 2010-07-09 13:21:14 +02:00
Brandon Lewis
1ada78f700 remove GESTrackBackgroundSource class 2010-07-09 13:21:14 +02:00
Brandon Lewis
44379e805c GESTrackAudioBackgroundSource inherits from GESTrackSource 2010-07-09 13:21:13 +02:00
Brandon Lewis
891826fdec GESTrackVideoBackgroundSource inherits directly from track object 2010-07-09 13:21:13 +02:00
Brandon Lewis
71df7618e0 move create_element virtual method up to TimelineSource class 2010-07-09 13:21:13 +02:00
Brandon Lewis
cc53dfb062 remove GESTrackAudioTitleSource 2010-07-09 13:21:13 +02:00
Brandon Lewis
23a3bbb80f create test track object instead of audio-title-source 2010-07-09 13:21:13 +02:00
Brandon Lewis
560956ed24 keep track of and release request pads for smpte also 2010-07-09 13:21:13 +02:00
Brandon Lewis
0d4ff040d2 free mixer in dispose separately from sink pads 2010-07-09 13:21:13 +02:00
Brandon Lewis
7b72e81d5a don't forget to unref pad targets 2010-07-09 13:21:12 +02:00
Brandon Lewis
ac500472f0 rough overlay implementation 2010-07-09 13:21:12 +02:00
Brandon Lewis
bcc63cd637 activate property setting functions 2010-07-09 13:21:12 +02:00
Brandon Lewis
577ad52020 add video overlays to main header 2010-07-09 13:21:12 +02:00
Brandon Lewis
734d95bfb8 create timeline-overly creates appropriate track object 2010-07-09 13:21:12 +02:00
Brandon Lewis
076c610f80 check in GESTrackVideoOverlay 2010-07-09 13:21:12 +02:00
Brandon Lewis
dd631dbf28 check in ges-track-overlay.{c,h} 2010-07-09 13:21:12 +02:00
Brandon Lewis
586530eba0 check in timelineoverlay, structural copy of GESTimelineTitleSource 2010-07-09 13:21:12 +02:00
Brandon Lewis
b629c98f0b update doc comment 2010-07-09 13:21:12 +02:00
Brandon Lewis
1723659704 remove unneeded paramenter to create_element 2010-07-09 13:21:12 +02:00
Brandon Lewis
e4c7d0bbcd push struct fields down to VideoTransition 2010-07-09 13:21:11 +02:00
Brandon Lewis
fa98f4cc09 push make_video_bin() down into subclass 2010-07-09 13:21:11 +02:00
Brandon Lewis
6574f0146f push relevant struct fields into AudioTransition 2010-07-09 13:21:11 +02:00
Brandon Lewis
b3d0c3e6b1 push make_audio_bin down into subclass 2010-07-09 13:21:11 +02:00
Brandon Lewis
a1734962e2 add duration_changed virtual method to GESTrackTransition 2010-07-09 13:21:11 +02:00
Brandon Lewis
2146e4a9af add create_element vmethod to GESTrackTransition 2010-07-09 13:21:11 +02:00
Brandon Lewis
622f0d7718 create transition subtype according to track type 2010-07-09 13:21:11 +02:00
Brandon Lewis
071ea8fb26 check in GESTrackVideoTransition, empty subclass of TrackTransition 2010-07-09 13:21:11 +02:00
Brandon Lewis
b2d36e8d9f check in GESTrackAudioTransition, empyt subclass of TrackTransition 2010-07-09 13:21:11 +02:00
Brandon Lewis
eb96fafc65 fix header file param names 2010-07-09 13:21:11 +02:00
Brandon Lewis
da566f9521 fix stupid copy/paste typo 2010-07-09 13:21:10 +02:00
Brandon Lewis
e417c4c656 free existing strings before assigning new ones 2010-07-09 13:21:10 +02:00
Brandon Lewis
aa19ff62ec implement {h,v}alignment property for timeline titles 2010-07-09 13:21:10 +02:00
Brandon Lewis
08d94f7e38 add ..._set_{h,v}alignment() methods to video titles 2010-07-09 13:21:10 +02:00
Brandon Lewis
c0f0d6f5f4 add font-desc property to TimelineTitleSource 2010-07-09 13:21:10 +02:00