Commit graph

369 commits

Author SHA1 Message Date
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
Brandon Lewis
bae04feef4 add ...set_font_desc() method to VideoTitleSource 2010-07-09 13:21:10 +02:00
Brandon Lewis
ac31f1ab4d set black background on titles by default 2010-07-09 13:21:10 +02:00
Brandon Lewis
1c27454a80 have timeline title source create audio title sources 2010-07-09 13:21:10 +02:00
Brandon Lewis
7da9439668 check in ges-track-audio-title-source.{c,h} 2010-07-09 13:21:10 +02:00
Brandon Lewis
43583aaa16 don't forget to check for null 2010-07-09 13:21:09 +02:00
Brandon Lewis
6f49bdd90c set text on video track objects when text property changes 2010-07-09 13:21:09 +02:00
Brandon Lewis
ce3300dfa8 implement ges_timeline_title_source_create_track_object 2010-07-09 13:21:09 +02:00
Brandon Lewis
6f906db0b9 remove trailing '$' accidentally pasted 2010-07-09 13:21:09 +02:00
Brandon Lewis
0dac374785 these should have been checked in before 2010-07-09 13:21:09 +02:00
Brandon Lewis
643bcb7bcc add text property to GESTimelineTitleSource 2010-07-09 13:21:09 +02:00
Brandon Lewis
b0358d5da1 massive update to doc comments 2010-07-09 13:21:09 +02:00
Brandon Lewis
709332ef09 remove the zone plate and gamut enum values 2010-07-09 13:21:09 +02:00
Brandon Lewis
f804f09845 check in skeletal GESTrackVideoTitleSource 2010-07-09 13:21:09 +02:00
Brandon Lewis
a9be66a91a check in skeletal GESTrackTitleSource 2010-07-09 13:21:09 +02:00
Brandon Lewis
3ed3fc87b7 check in sekeletal GESTimelineTitleSource 2010-07-09 13:21:08 +02:00
Brandon Lewis
efb7524a0a test vpatern property in unit tests 2010-07-09 13:21:08 +02:00
Brandon Lewis
d48c10c026 make audio background-sources output silence 2010-07-09 13:21:08 +02:00
Brandon Lewis
7370d3ab7c don't initialize vpattern field 2010-07-09 13:21:08 +02:00
Brandon Lewis
2d022c8886 implement ges_timeline_background_source_new_for_nick() 2010-07-09 13:21:08 +02:00
Brandon Lewis
fcab9fa0b3 move enum table into file scope 2010-07-09 13:21:08 +02:00
Brandon Lewis
cf99d81a51 set pattern on newly-created video track objects 2010-07-09 13:21:08 +02:00
Brandon Lewis
532e2884a3 implement vpattern gobject property of tl background source 2010-07-09 13:21:08 +02:00
Brandon Lewis
20bb7c73b8 add big blob of pattern enum values copied from videotestsrc 2010-07-09 13:21:08 +02:00
Brandon Lewis
8019f805db add vpattern field to GESTimelineBackground source 2010-07-09 13:21:07 +02:00
Brandon Lewis
12437967ba implement setting pattern on video background sources 2010-07-09 13:21:07 +02:00
Brandon Lewis
2a351841cc add routines to set track object pattern 2010-07-09 13:21:07 +02:00
Brandon Lewis
5e39898c1a add enum for video patterns 2010-07-09 13:21:07 +02:00
Brandon Lewis
f371d2c83e implment GESTimelineBackground source create_track_object 2010-07-09 13:21:07 +02:00
Brandon Lewis
8a6bef074b add audio background source to build system 2010-07-09 13:21:07 +02:00
Brandon Lewis
88175b790a add audio background source to types.h 2010-07-09 13:21:07 +02:00
Brandon Lewis
3c47729062 check in audio background source 2010-07-09 13:21:07 +02:00
Brandon Lewis
8b10e0c065 add ges video-track background to build system 2010-07-09 13:21:07 +02:00
Brandon Lewis
ae5d0de868 check in ges-track-video-background-source.{c,h} 2010-07-09 13:21:07 +02:00
Brandon Lewis
bdee21579b add GESTrackBackgroundSource to build system 2010-07-09 13:21:07 +02:00
Brandon Lewis
77a16602c6 add track background source to header 2010-07-09 13:21:07 +02:00
Brandon Lewis
22707643b0 add track background source to ges-types.h 2010-07-09 13:21:06 +02:00
Brandon Lewis
73ca491f0e check in GESTrackBackgroundSource 2010-07-09 13:21:06 +02:00
Brandon Lewis
323cc10942 add GESTimelineBackgroundSource to build system 2010-07-09 13:21:06 +02:00
Brandon Lewis
4ab734edf0 add timeline background source to header 2010-07-09 13:21:06 +02:00
Brandon Lewis
33a9610cd0 check in ges-timeline-background-source.{c,h} 2010-07-09 13:21:06 +02:00
Edward Hervey
097647e97a GESTimelinePipeline: Fix leaked caps 2010-06-28 17:08:08 +02:00
Edward Hervey
be8cbdb4a1 GESTimelinePipeline: unref all pads 2010-06-21 11:54:01 +02:00
Edward Hervey
575c4865a0 GESTimelinePipeline: Make a copy of the provided GstEncodingProfile 2010-06-21 11:53:30 +02:00
Edward Hervey
6fe60cb694 GESTimelinePipeline: Properly release playsink and encodebin 2010-06-21 11:52:49 +02:00
Edward Hervey
87087b013a GESTimelinePipeline: finalize => dispose
We want to release our objects before the parent GstBin class does so.
2010-06-21 11:52:01 +02:00
Edward Hervey
45febdebe1 GESTrackTransition: Release all pads.
Whether calling get_request_pad or get_static_pad we always end up
with an extra reference.

Also keep a reference on videomixer so it doesn't go away before we
call _release_request_pad() on it with the proper pads to release.
2010-06-14 19:40:50 +02:00
Brandon Lewis
03b299ecdb release the request pads in dispose 2010-06-10 16:25:34 +02:00
Brandon Lewis
19c8bbfd3f don't keep an extra reference to vsmpte 2010-06-10 16:14:20 +02:00
Brandon Lewis
462cd2b41f gstl_recalculate() won't set priorities to -1 2010-06-09 18:56:55 +02:00
Brandon Lewis
73814e225d ges/ges-track-transition.h: add missing function prototype 2010-06-09 17:13:13 +02:00
Brandon Lewis
edecee8def ges/ges-utils.h: C90 fixes 2010-06-09 17:13:07 +02:00
Brandon Lewis
3e34e423a6 ges/ges-track.h: C90 fixes 2010-06-09 17:13:07 +02:00
Brandon Lewis
9b7c70c6c1 ges/ges-track.c: C90 fixes 2010-06-09 17:13:07 +02:00
Brandon Lewis
71df04a2f9 ges/ges-track-transition.c: C90 fixes 2010-06-09 16:34:14 +02:00
Brandon Lewis
8db7c7a48b ges/ges-track-object.c: C90 fixes 2010-06-09 16:31:11 +02:00
Brandon Lewis
7a64a8c690 ges/ges-timeline-transition.c: C90 fixes 2010-06-09 16:30:48 +02:00
Brandon Lewis
250d0be3c4 ges/ges-timeline-object.c: C90 fixes 2010-06-09 16:30:16 +02:00
Brandon Lewis
1ec9238358 ges/ges-timeline-layer.c: C90 fixes 2010-06-09 16:29:26 +02:00
Brandon Lewis
06a8cc32a0 ges/ges-simple-timeline-layer.c: C90 fixes 2010-06-09 16:27:43 +02:00
Edward Hervey
ea55ceb747 GESTrackTransition: Fix debug statement 2010-06-09 13:53:07 +02:00
Edward Hervey
9eedf06b7b GESTimeline: Remove all tracks/layers when being disposed 2010-06-09 13:52:35 +02:00
Edward Hervey
b6277bd8bb GESTimelineLayer: Release all layer/tracks when being disposed 2010-06-09 13:52:08 +02:00
Brandon Lewis
f0fc253aa8 ges/ges-track-transition.c: set referece to vsmpte to NULL after freeing 2010-06-09 11:28:46 +02:00
Brandon Lewis
c7273608c7 ges/ges-track-transition.c: was freeing same GstController twice in _dispose() 2010-06-09 11:28:46 +02:00
Edward Hervey
5e2660b2c2 GESTrackTransition: Unref the ControlSource in dispose 2010-06-09 11:28:46 +02:00
Edward Hervey
4188c6fa97 ges: Initialize GstController in ges_init 2010-06-09 11:28:46 +02:00
Brandon Lewis
9d8ce82b61 ges/ges-simple-timeline-layer.c: print a warning when transitions overlap 2010-06-09 11:28:46 +02:00
Brandon Lewis
0608930b19 ges/ges-timeline-transition.c: can't set enums by nick 2010-06-09 11:28:46 +02:00
Brandon Lewis
221df1b880 ges/ges-timeline-transition.c: initialize vtype enum type from static list of
GEnumValues
2010-06-09 11:28:46 +02:00
Brandon Lewis
67c33dc65b ges/ges-track-transition.c: adjust to the change in VTYPE_CROSSFADE 2010-06-09 11:28:10 +02:00
Brandon Lewis
adeef34c77 ges/ges-timeline-transition.{c,h}: value for VTYPE_CROSSFADE changed to 512
and exported in ges-timeline-transition.h
2010-06-09 11:28:10 +02:00
Brandon Lewis
2adbd8e36c ges/ges-timeline-transition.c: implement vtype gobject property on
GESTimelineTransitions
2010-06-09 11:28:10 +02:00
Brandon Lewis
2f18595e6e ges/ges-track-transition.{c,h}: add ability to change smptealpha type 2010-06-09 11:28:10 +02:00
Brandon Lewis
7beb6a5e5e ges/ges-timeline-transition.{c,h}: api change, pass gint instead of GEnumValue
to new()
2010-06-09 11:28:10 +02:00
Brandon Lewis
22534176d8 ges/ges-timeline-transition.{c,h},tests/.../transition.c: type change of vtype
to gint from GEnumValue
2010-06-09 11:28:10 +02:00
Brandon Lewis
e69dcea71a ges/ges-timeline-transition.c: sync with API change in previous commit 2010-06-09 11:28:10 +02:00
Brandon Lewis
3caed9bff4 ges/ges-track-transition.{c,h}: api change: pass gint instead of GEnumValue 2010-06-09 11:28:10 +02:00
Brandon Lewis
b3ec2bad19 ges/ges-track-transition.{c,h}, tests/check/ges/transition.c: change vtype
from GEnumValue to simple gint;
2010-06-09 11:28:10 +02:00
Brandon Lewis
d4c60b059d ges/ges-track-filesource.h: fix typo in documentation commments 2010-06-09 11:28:09 +02:00
Brandon Lewis
bc291a986d ges/ges-track-filesource.h: fix incorrect definition of GESTrackFileSource
structs.
2010-06-09 11:28:09 +02:00
Brandon Lewis
93534c0500 Add missing documentation 2010-06-09 11:28:09 +02:00