Thibault Saunier
43907adc1d
structured-interface: Avoid setting invalid clip duration
2019-07-30 18:22:18 -07:00
Thibault Saunier
badede6d1c
track: Add a getter for restriction_caps
2019-07-26 14:23:55 -04:00
Thibault Saunier
ea2b5bded8
track: Enhance restriction capsfilter name
2019-07-26 14:23:55 -04:00
Thibault Saunier
0d870428ed
xml-formatter: Serialize DiscovererStreamInfo
...
We do not use it yet but it gives interesting information to
users
2019-07-26 14:23:55 -04:00
Thibault Saunier
955d177dd6
formatter: Plug lists of TimedValue leak
2019-07-26 13:48:52 -04:00
Thibault Saunier
2c9cbc6d06
formatter: Better document metadata registration
...
And fix xges mimetype to match typefind mimetype
2019-07-26 13:48:52 -04:00
Thibault Saunier
f51f2f70de
gesdemux: Compute sinkpad caps based on formatter mimetypes
...
Implement lazy loading asset cache so gesdemux use the formatters
assets while GES hasn't been initialized.
And set extensions to temporary files as some formatters require
the information (otio)
2019-07-26 13:48:51 -04:00
Thibault Saunier
7caa424aaf
formatter: Add a method to retrieve the best formatter for a givent URI
...
Uses the file extension as hint falling back to the default formatter
if none is found
Make use of that function in when saving a project and not formatter
is specified.
2019-07-26 13:48:51 -04:00
Thibault Saunier
c5c451fc1c
Implement a formatter based on [OpenTimelineIO]
...
[OpenTimelineIO]: http://opentimeline.io/
2019-07-26 13:48:51 -04:00
Thibault Saunier
451f67e3d6
formatter: Handle coma separated extensions in formatter metas
2019-07-26 13:48:51 -04:00
Thibault Saunier
fa7a5db1fc
formatter: Duplicate const gchar* for metadatas
2019-07-26 13:48:51 -04:00
Thibault Saunier
d7b0e50b07
project: Expose the ges_project_add_formatter method
...
This method is useful when implementing a formatter outside
GES that end up converting to xges and uses the default formatter
to finally load the timeline.
2019-07-26 13:48:51 -04:00
Thibault Saunier
abb4f005e3
Mark nested timeline assets as such
...
Adding a property to let the application know
Also make sure that the duration of nested timeline assets is reported
as CLOCK_TIME_NONE as those are extended as necessary.
And make a difference between asset duration and their max duration
As nested timelines can be extended 'infinitely' those max duration
is GST_CLOCK_TIME_NONE, but their duration is the real duration of
the timeline.
2019-07-26 13:48:51 -04:00
Thibault Saunier
6f9e6d3586
formatter: Enhance error reporting
...
And add a "loading-error" signal in GESProject so we can report
issue when loading async elements for the timeline.
2019-07-26 13:48:51 -04:00
Thibault Saunier
c125093bb1
xml-formatter: Fix loading sources
...
And fix the project file which couldn't be load now that we
properly check clips coherency
2019-07-26 13:48:51 -04:00
Thibault Saunier
9dc958e8ab
ges:validate: Properly error when editing container fails
2019-07-26 13:48:51 -04:00
Thibault Saunier
a55296314c
nle: Handle nested timelines update when file changes
...
When we have nested timelines, we need to make sure the underlying
formatted file is reloaded when commiting the main composition to
take into account the new timeline.
In other to make the implementation as simple as possible we make
sure that whenever the toplevel composition is commited, the decodebin
holding the gesdemux is torn down so that a new demuxer is created
with the new content of the timeline.
To do that a we do a NleCompositionQueryNeedsTearDown query to which
gesdemux answers leading to a full nlecomposition stack
deactivation/activation cycle.
2019-07-26 13:48:51 -04:00
Thibault Saunier
70d423575d
ges:validate: Add a way to execute actions on serialized timelines
...
This way we can modify nested timelines.
2019-07-26 13:48:51 -04:00
Thibault Saunier
5847c6e5ed
ges: Implement our own idle_add which uses the thread local maincontext
2019-07-26 13:48:51 -04:00
Thibault Saunier
35096e4d94
validate: Allow passing 'uri' to 'load-project'
...
The action type was thought to allow that but it wasn't implemented.
2019-07-26 13:48:51 -04:00
Thibault Saunier
6c5a775a77
xml-formatter: Lower down borring debug to _LOG
2019-07-26 13:48:51 -04:00
Thibault Saunier
cb1ee4b641
project: Use asset ID as URI if possible
...
It was making no sense to consider it an empty timeline when the user
had passed the project URI when requesting the asset. Usually user
use `ges_project_new` with the URI but it is also valid to use
`ges_asset_request` with the uri as ID so let's handle that properly.
2019-07-26 13:48:51 -04:00
Thibault Saunier
a5fa2c35aa
ges: Implement subprojects
...
Subprojects simply consist of adding the GESProject
to the main project asset list. Then those are recursively
serialized in the main project in the <asset> not, when deserializing,
temporary files are created and those will be used in clips
as necessary
2019-07-26 13:48:48 -04:00
Thibault Saunier
5f3adbc1a3
project: Fix our asset cache
...
It was not talking into account the fact that you can have
several assets with a same ID but different exactractable types.
2019-07-24 10:49:38 -04:00
Thibault Saunier
b8c897308d
asset: Handle trying to proxy an asset to itself
...
And avoid infinite recursion
2019-07-15 10:30:44 -04:00
Thibault Saunier
bb10b9faa6
track: Disable last gap by default
...
And let the GESPipeline logic handle that
2019-07-05 18:30:41 -04:00
Thibault Saunier
5e4555c6b3
validate: Create folders as needed when serializing timelines
2019-07-05 18:30:41 -04:00
Thibault Saunier
564505e16f
uri-asset: Fix retrieving a relocated asset sync twice
...
Add a simple test for that.
2019-07-05 18:11:04 -04:00
Thibault Saunier
a2b0dd3859
timeline: Make adding/removing track MT safe
...
It was almost the case already so make it happen fully
2019-07-05 18:11:04 -04:00
Thibault Saunier
eb53e62c6d
timeline: Drop ASYNC_/START/DONE messages
...
When we have nested timelines, we do not want those messages to pop
to the parent timelines as we handle the sequence ourself in the
timeline.
2019-07-05 17:58:13 -04:00
Thibault Saunier
61c952c714
uri-asset: Implement multi threading support
...
Making sure to have 1 GstDiscoverer per thread.
Use that new feature in gesdemux by loading the timeline directly from
the streaming thread. Modifying the timeline is not supported allowed
anyway.
2019-07-05 17:56:03 -04:00
Thibault Saunier
cb96d0287e
Use the new GstDiscoverer caching feature
2019-07-05 17:54:29 -04:00
Thibault Saunier
31ccb3106f
timeline: Do not post upstream translated composition update messages
...
In the case of nested timeline in the toplevel timeline we ended up
with CompositionUpdate for seeks sent by our own composition to
granchildren composition. This was not causing essential issues
if all tracks where containing nested timelines but in cases
where one of the tracks only had a nested timelines, then we
were waiting forever for a `CompositionUpdateDone`.
CompositionUpdate translated into ASYNC_START/ASYNC_DONE should
be kept inside the GESTimeline and not travel up (possibly to some
parent GESTimeline).
2019-07-05 17:53:57 -04:00
Thibault Saunier
1e23799a24
structured-interface: Handle track-types in clip addition
...
The field was already expected in the launcher
2019-07-05 17:53:41 -04:00
Thibault Saunier
5ea4667be6
Implement and use the GstStream API
2019-07-05 17:53:15 -04:00
Thibault Saunier
5be359cf7f
timeline: Create stable stream IDs
2019-07-05 17:52:55 -04:00
Thibault Saunier
032200577a
xml-formatter: Plug some leaks
2019-07-05 17:47:53 -04:00
Thibault Saunier
90943667ce
xml-formatter: Refactor the way we handle loading state
2019-07-05 17:47:39 -04:00
Thibault Saunier
33bac10cc8
xml-formatter: Cleanup removing all now useless pending fields
2019-07-05 17:45:20 -04:00
Thibault Saunier
14d1f558b1
xml-formatter: Load assets before their proxies
...
Paving the way to removing pending fields to make the code
simpler to follow.
2019-07-05 17:44:31 -04:00
Thibault Saunier
5774d5256a
assets: Recurse in the chain of proxies
...
When linking loaded proxies and trying to setup their targets
2019-06-16 23:20:12 -04:00
Thibault Saunier
7b1cb7a1d7
validate: Add action type to copy/paste clips
2019-06-05 00:43:48 +00:00
Thibault Saunier
b3e449fd4f
container: Handle children pasting failures
2019-06-05 00:43:48 +00:00
Thibault Saunier
3b95bec095
clip: Fix layer managament when copying a clip that was pasted
2019-06-05 00:43:48 +00:00
Thibault Saunier
ded3a5fb2f
element: Properly handle the fact that pasting can return NULL
...
And fix paste annotation
2019-06-05 00:43:48 +00:00
Thibault Saunier
1729104c2c
video-transition: When using non crossfade effect use 'over' operations
...
For smptealph element to work as expected the following compositing
element should mix with the default "over" operator, as described
in its documentation.
2019-05-24 21:13:03 +00:00
Thibault Saunier
b8c0894f34
docs: Minor documentation fixes
2019-05-23 18:54:42 -04:00
Thibault Saunier
ab2582c97e
ges: Minor reorganisation of timeline-element.c
2019-05-23 18:54:42 -04:00
Thibault Saunier
759d1580dc
ges: Cleanup timeline-element.h indentation
2019-05-23 18:54:42 -04:00
Thibault Saunier
85e966963e
project: Add a signal to notify when a new timeline is starting to load
2019-05-23 18:54:42 -04:00
Sebastian Dröge
acf3e31907
timeline-element: Mark edit() as Since: 1.18
2019-05-16 15:09:51 +03:00
Sebastian Dröge
214987bd8a
ges: Sprinkle around some Since: 1.16 markers
2019-05-16 15:09:13 +03:00
Thibault Saunier
99cee9218b
ges: Deprecate ges_play_sink_convert_frame
...
It has nothing to do in our namespace/API
2019-05-13 17:00:00 -04:00
Thibault Saunier
fcfa18ac76
More porting to markdown
2019-05-13 10:30:35 -04:00
Thibault Saunier
4cd054dea0
title-clip: Enhance documentation
2019-05-13 10:30:35 -04:00
Thibault Saunier
e7816eba1d
doc: Build documentation with hotdoc
2019-05-13 10:30:35 -04:00
Thibault Saunier
5caf822526
docs: Minor fixes
2019-05-13 10:30:19 -04:00
Thibault Saunier
d87578c843
element: Make return value of setters mean something
...
Setters return values should return %FALSE **only** when the value
could not be set, not when unchanged or when the subclass handled
it itself!
This patches makes it so the return value is meaningul by allowing
subclasses return anything different than `TRUE` or `FALSE` (convention
is -1) to let the subclass now that it took care of everything and
no signal should be emited.
2019-05-02 12:10:11 -04:00
Thibault Saunier
2ab26ab306
ges: Move ges_container_edit
to GESTimelineElement
...
Now that the notion of layer has been moved down to #GESTimelineElement
(through the new #ges_timeline_element_get_layer_priority method), this
method make much more sense directly in the base class.
2019-05-01 12:24:30 -04:00
Thibault Saunier
b09ed0d0c3
asset: Avoid unrefing a task we do not own
2019-04-18 16:44:41 -04:00
Alexandru Băluț
056198b15e
clip: Optimize set_top_effect_index by checking parent sooner
2019-04-17 21:56:21 +00:00
Alexandru Băluț
5e008dbc77
clip: Return TRUE when the the effect index does not change
2019-04-17 21:56:21 +00:00
Alexandru Băluț
547a340629
clip: Remove obsolete FIXME
2019-04-17 21:56:21 +00:00
Alexandru Băluț
07ee386d30
container: Call _remove_child when cannot set parent
...
ges_container_add removes the child being added if the call to
ges_timeline_element_set_parent fails. In this case, subclasses should
be given the chance to revert the effects of the add_child vmethod which
has just been called.
2019-04-17 21:56:21 +00:00
Alexandru Băluț
134e2ffae1
ges: Remove unused nb_effects field
2019-04-17 21:56:21 +00:00
Mart Raudsepp
0c592ad6ac
track: Avoid various sorting operations before timeline commit
...
These are showing up in performance profile of 1000+ clips looped addition.
All this is done at commit time as well, so let that do only one update and
sorting.
2019-04-17 20:17:59 +00:00
Thibault Saunier
6a0f2358ce
asset: Do not take an extra ref on asset when already initialized
...
The task already has a ref so this one doesn't make sense and leads to leaks
2019-04-15 17:11:48 -04:00
Thibault Saunier
2d8be79cb7
xml-formatter: Fix some asset leaks
2019-04-15 17:11:48 -04:00
Thibault Saunier
61a659d298
framepositioner: Plug caps leak
2019-04-15 17:11:48 -04:00
Thibault Saunier
33cf9ec180
xml-formatter: Plug some leaks
2019-04-15 17:11:48 -04:00
Thibault Saunier
d04bffc541
timeline: Plug leak of the auto transition asset
2019-04-15 17:11:48 -04:00
Thibault Saunier
e31aa62f7b
tree: Plug a GList leak
2019-04-15 17:11:48 -04:00
Thibault Saunier
45c2d81a4e
pipeline: Plug pad leak
2019-04-15 17:11:48 -04:00
Thibault Saunier
cfd5fda38d
title: Deprecate method that return newly allocated const gchar*
...
This is just plain broken 190643508f
but we can't do anything about it.
2019-04-15 17:11:48 -04:00
Thibault Saunier
5c54ba55b7
Plug some GError leaks when loading assets
2019-04-15 17:11:48 -04:00
Thibault Saunier
683f827a8b
xml-formatter: Free pending clips on disposal
2019-04-15 17:11:48 -04:00
Thibault Saunier
de7c0731f5
asset: Plug a GError leak
2019-04-15 17:11:48 -04:00
Thibault Saunier
61c14b6406
asset: s/unsure/ensure
2019-04-15 17:11:48 -04:00
Thibault Saunier
9d4e0640c7
asset: Plug a leak of EncodingProfiles
2019-04-15 17:11:48 -04:00
Thibault Saunier
adc4843f53
xml-formatter: Plug leaks of pending groups
2019-04-15 17:11:48 -04:00
Thibault Saunier
0dcf78f3ec
asset: plug a GTask leak
2019-04-15 17:11:48 -04:00
Thibault Saunier
7f0810bae7
Fix splitting control bindings leaks
2019-04-15 17:11:48 -04:00
Thibault Saunier
7d7be4eecd
tree: Fixup some GList leaks
2019-04-15 16:18:11 -04:00
Yeongjin Jeong
05d919a2eb
uri-asset: Ensure that the discoverer stops on deinit.
...
Discoverer maintain a referernce on the discoverer object while
the async timeout callback is alive to prevent a potential crash
if the object is freed while the callback is pending.
But if g_main_context is released before calling the timeout callback,
the discoverer pointer which was weak referenced from GESUriClipAssetClass
will not be disposed because the discoverer object is not finalized.
2019-04-15 18:37:58 +09:00
Jakub Adam
0ce4b5cb85
videosource: Expose video-direction child property
2019-03-20 09:17:38 +01:00
Jakub Adam
77dac21488
videosource: auto-flip the image according to image-orientation tag
...
If there's image-orientation tag, make sure the image is correctly
oriented before we scale it.
2019-03-19 10:01:40 +01:00
Tim-Philipp Müller
64f23a2a80
Fix autotools build
2019-03-16 15:04:29 +00:00
Thibault Saunier
521b0fc8b7
clip: Make sure to set the pasted clip start before adding to layer
...
And handle the fact that adding to a layer can fail.
Also plug some leaks in the dispose method (and use the dispose
vmethod instead of finalize as appropriate).
2019-03-15 23:51:55 +00:00
Thibault Saunier
b294b56a76
clip: Emit signals while splitting in a way the operation is undoable
...
Basically if we do not emit a "duration" change of the clip being
splitted first when executing the 'reverse' operations would lead
to fully overallaping clips.
2019-03-15 23:51:55 +00:00
Thibault Saunier
a46390ff56
Reimplement the timeline editing API
...
This is implemented on top of a Tree that represents the whole timeline.
SourceClips can not fully overlap anymore and the tests have been
updated to take that into account. Some new tests were added to verify
that behaviour in greater details
2019-03-15 23:51:55 +00:00
Thibault Saunier
fa909a7cef
timeline: Rename group_id to stream_start_group_id
2019-03-15 23:51:55 +00:00
Thibault Saunier
7c5f2d11b2
timeline-element: Add a method to retrieve layer priority
...
Each timeline element is in a layer (potentially spanning
over several), it is very often useful to retrieve an element
layer priority (from an app perspective more than the element
priority itself as that is a bit of an implementation detail
in the end).
Port tests to it
2019-03-15 23:51:55 +00:00
Thibault Saunier
694e39186b
Add API to get the GESEdge names
2019-03-15 23:51:55 +00:00
Thibault Saunier
69456e4f14
ges: Move GESClipFlags to GESTimelineElementFlags
...
Keeping it internal
And add an internal method to get layer priority for GESTimelineElements
(dirty implementation to make it simple for now)
2019-03-15 23:51:55 +00:00
Thibault Saunier
b4bdf51935
layer: factor out a method to remove an object without signaling it
2019-03-15 23:51:55 +00:00
Thibault Saunier
72519e6c5c
timeline: No error when moving an object as part of the context
...
It will just happen from the context
2019-03-15 23:51:55 +00:00
Thibault Saunier
1a69f0d535
timeline: Not being able to trim and object is an error
...
So error out when that happens.
2019-03-15 23:51:55 +00:00
Thibault Saunier
100276d02a
timeline: Setting duration to the same value is valid
...
And should not be advertised as if the operation failed.
2019-03-15 23:51:55 +00:00
Thibault Saunier
22ae41e984
timeline: Do not ripple if resulting duration would be 0
2019-03-15 23:51:55 +00:00
Thibault Saunier
1c2784daa6
clip: Add a method to get the priority of the layer it is in
...
Just an helper method to get the 'priority of a the clip'
2019-03-15 23:51:55 +00:00
Thibault Saunier
c901e4289a
clip: Rollback moving clips when moving a contained TrackElement fails
...
And fix unit tests to match the correct behaviour
2019-03-15 23:51:55 +00:00
Thibault Saunier
957d9a01fe
Shorten GES_FORMAT output
2019-03-15 23:51:55 +00:00
Thibault Saunier
430719d172
clip: Make sure to remove and re add effects when adding clips to layer
...
And make re add them in the same order.
And enhance tests to check that
2019-03-15 23:51:55 +00:00
Thibault Saunier
23d3e69f2b
source: No checks when linking default elements
2019-03-15 23:51:55 +00:00
Thibault Saunier
85f0e76566
asset-uri: Create a specific discoverer when discovering sync
...
To allow 'reintrancy'.
This was a 'regression' introduced in bad64296d9
Fixes https://gitlab.gnome.org/GNOME/pitivi/issues/2278
2019-03-14 12:35:23 +00:00
Pat DeSantis
ce94db774d
Mark ges_timeline_load_from_uri as deprecated
2019-03-12 17:30:02 +00:00
Pat DeSantis
9c14cb33ea
Update deprecation warning to match GTK style
2019-03-12 17:30:02 +00:00
Pat DeSantis
d352ce911a
Mark ges_formatter_save_to_uri as deprecated
2019-03-12 17:30:02 +00:00
Seungha Yang
41597dfdfd
ges: Enhance ges_{init/deinit} documentation
...
Add some init/deinit related comment and make assertion when
ges_deinit() is called from unexpected thread.
2019-03-12 15:17:18 +00:00
Seungha Yang
bdbd485ad0
ges-meta-container: Fix g-i annotation
...
ges-meta-container.c:516: Warning: GES: invalid "allow-none" annotation:
only valid for pointer types and out parameters
2019-02-11 18:27:53 +09:00
Thibault Saunier
9748b963b6
Fix segfault when adding clips to group outside a timeline
...
Making sure that objects are inside a timeline before adding/removing them from it
Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/35
2019-01-30 20:04:04 +00:00
Yeongjin Jeong
099934c35f
layer: Fix asset leak
2019-01-29 16:17:00 +09:00
Yeongjin Jeong
5a4cf445cd
effect: Fix string leak
2019-01-29 16:16:55 +09:00
Yeongjin Jeong
70deab616a
uri-asset: Implement dispose vmethod for GESUriSourceAsset
...
... and fix DiscovererStreamInfo leak
2019-01-29 16:16:49 +09:00
Yeongjin Jeong
f5f63ecdf3
uri-asset: Don't forget to unref DiscovererInfo on dispose
...
Dispose() must unref DiscovererInfo ownership
taken by ges_uri_clip_asset_set_info().
2019-01-29 16:16:13 +09:00
Yeongjin Jeong
e36ae315dc
video-transition: Fix GstPad leak
...
Returned Gstpad by link_element_to_mixer_with_smpte()
has increased refcount in ges_smart_mixer_get_mixer_pad().
2019-01-29 16:15:03 +09:00
Alexandru Băluț
c750345c75
timeline: Better handle loading inconsistent timelines
...
Auto transition when having 3 overlapping clips in a same point in the
timeline is not supported as we can't handle it in a nice way. Before we
to avoid creating 2 overlapping transitions (which is plain broken in
NLE) were completely disabling `auto-transition` and removing all
auto-transitions in the timeline but this is pretty weird for the end
user. This commit changes and now makes sure 2 transitions are not
created in the same place.
Also cleanup previous test case.
2019-01-28 21:32:58 -03:00
Thibault Saunier
aa2f29bad3
s/accured/occurred/g
2019-01-29 00:06:32 +00:00
Thibault Saunier
d9f457c578
xml-formatter: Minor debug enhancement
2019-01-29 00:06:32 +00:00
Thibault Saunier
bad64296d9
uri-asset: Use the same code path for sync discovery as the async one
...
And start handling relocated assets.
Also expose the discoverer callback as a vmethod so that we can
overridde the discoverer when necessary (to handle discovering of
timeline through gesdemux for example)
2019-01-29 00:06:32 +00:00
Thibault Saunier
c596f80c63
nlecomposition: Get overall pipeline position by recursing up
...
And handle NLEComposition inside NLEComposition
Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/39
2019-01-29 00:06:32 +00:00
Thibault Saunier
d8f2a406a7
videomixer: Drop allocation query after the compositor
...
Working around https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/310
2019-01-29 00:06:31 +00:00
Thibault Saunier
dea6f0df98
layer: Resort clips before syncing priorities
...
We set the priorities making the assumption that `start_clips` is properly
ordered by start!
Fixes https://gitlab.gnome.org/GNOME/pitivi/issues/2254
2019-01-28 19:19:46 -03:00
Seungha Yang
fa2d6f360a
Revert "ges: Add missing type unref on deinit"
...
This reverts commit e939cfebaf
.
Class might not be initialized if they were already registered
when ges_init() was called, but were not created until ges_deinit() called.
2019-01-28 17:39:31 +09:00
Seungha Yang
702c298122
ges: Add check sync/async discoverer
...
To support ges_{init/deinit} multiple times in a process,
there should be a method for setting up internal object/table of
GESUriClipAssetClass. because *_class_init() will be called
only once in process lifecycle.
2019-01-28 17:37:10 +09:00
Seungha Yang
173badbccf
uri-asset: Add missing GHashTable cleanup
...
... and use g_object_unref() for GFile object, it's not a GstObject.
2019-01-28 17:35:04 +09:00
Seungha Yang
d623411a26
ges: Print initialize error reasons
2019-01-28 17:35:04 +09:00
Seungha Yang
2f491b60c8
ges: Simplify init/deinit flag
...
In theory, GES can be init/deinit multiple times in a process.
To simplify that use-case, let's trace only "ges_initialized" flag.
2019-01-28 17:35:04 +09:00
Corentin Noël
87925a72da
uri-asset: Add ges_uri_clip_asset_finish to get better introspection
...
Vala requires a matching _finish function to correctly bind the method with the right finish method.
2019-01-23 11:51:08 +00:00
Corentin Noël
e7f63b03f8
timeline: fix two issues in the documentation
2019-01-21 14:15:14 +01:00
Thibault Saunier
031803e947
xml-formatter: Do not forget to serialize clips metadata
2019-01-20 14:06:28 +00:00
Thibault Saunier
1f1b1c8cba
xml-formatter: Serialize groups metadatas
2019-01-20 14:06:28 +00:00
Seungha Yang
c883f98961
uri-asset: Don't leak GstDiscovererInfo
2019-01-18 20:32:02 +00:00
Seungha Yang
5a46f2eae9
uri-asset: Impl. dispose vfunc
...
... and fix GList/GESAsset leak
2019-01-18 20:32:02 +00:00
Seungha Yang
075a5df24f
transition-clip: Don't leak GESAsset
...
Returned GESAsset from ges_asset_request should be freed since
ges_extractable_set_asset doesn't take ownership
2019-01-18 20:32:02 +00:00
Seungha Yang
f850da7e4b
framepositioner: Fix invalid memory access
...
The GstFramePositioner might be finalized before the notify callback
Without this commit,
gst-editing-services / ges_basic / test_ges_timeline_remove_track
can reproduce the case.
2019-01-18 20:32:02 +00:00
Seungha Yang
e1fff8f864
asset: Fix various leak
2019-01-18 20:32:02 +00:00
Seungha Yang
eb226bc544
enums: Add missing unref
2019-01-18 20:32:02 +00:00
Seungha Yang
580f45dddb
structure-parser: Add missig chain up code
2019-01-18 20:32:02 +00:00
Seungha Yang
e939cfebaf
ges: Add missing type unref on deinit
2019-01-18 20:32:02 +00:00
Seungha Yang
ef173bb7c4
ges: Cleanup internal hash table on deinit
...
System-wide once allocated but it makes tracing leak hard
2019-01-18 20:32:02 +00:00
Seungha Yang
15c891e76a
ges: Make init/deinit thread safe
...
Although it might be uncommon use case, init/deinit could be called
in non-main thread.
2019-01-18 20:32:02 +00:00
Seungha Yang
691b6f6f04
asset: Use static lock
...
The mutex life cycle follows processs.
2019-01-18 20:32:02 +00:00
Thibault Saunier
463ded894a
ges: Register formatters during meta registration
...
So that formatters implemented outside GES itself are registered
2019-01-14 18:32:38 -03:00
Thibault Saunier
b3332e5ab3
ges: Add a ges_is_initialized function
2019-01-14 18:32:38 -03:00
Thibault Saunier
11334118fa
formatter: sink ref of the temporary GESFormatter
...
To accomodate formatters implemented with bindings/in python
2019-01-14 18:32:38 -03:00
Seungha Yang
3b0da0611c
pipeline: Ensure timeline state to be NULL on dispose
...
The GESTimeline's state might not be synced with parent
2019-01-09 20:25:24 +09:00
Alexandru Băluț
a83d539390
ges-meta-container: Fix warning message
2019-01-05 10:58:57 +00:00
Alexandru Băluț
fd7e6aa204
ges-meta-container: Minor documentation fixes
2019-01-05 10:58:57 +00:00
Thibault Saunier
9a20b4cfe9
track-element: Ignore writability for whitlisted children props
...
If the property was explicitely whitelisted, we should expose it
in any case.
This was a regression from 835d693749
2019-01-04 12:36:20 +01:00