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
Thibault Saunier
aa2f29bad3
s/accured/occurred/g
2019-01-29 00:06:32 +00:00
Seungha Yang
e1fff8f864
asset: Fix various leak
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
691b6f6f04
asset: Use static lock
...
The mutex life cycle follows processs.
2019-01-18 20:32:02 +00:00
Tim-Philipp Müller
a7347ca8f7
WIP: ges: fix API export/import and 'inconsistent linkage' on MSVC
...
Export GES library API in headers when we're building the
library itself, otherwise import the API from the headers.
This fixes linker warnings on Windows when building with MSVC.
Fix up some missing config.h includes when building the lib which
is needed to get the export api define from config.h
Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/42
2018-12-15 00:14:51 +00:00
Thibault Saunier
13b8c8554d
Update for g_type_class_add_private() deprecation in recent GLib
2018-09-05 22:57:27 -03:00
Mathieu Duponchelle
38a78651e2
asset: documentation fix
2018-06-26 16:21:22 +02:00
Edward Hervey
d91cc7e7b6
ges: Fix sizeof() usage
...
The entries of the array are "gchar *" and not "gchar **"
CID #1427091
CID #1427120
2018-01-11 10:57:30 +01:00
Edward Hervey
9a45d0ef85
ges: Fix a bunch of leaks
...
There are definitely more left, but don't have time for more debugging
2017-11-27 11:49:43 +01:00
Ashish Kumar
23e9044b4e
GESAsset, GESLayer: add some function guards
...
https://bugzilla.gnome.org/show_bug.cgi?id=789521
2017-11-21 14:13:53 +01:00
Thibault Saunier
9a76617fc7
asset: Add a function to stop proxying an asset
...
And remove any reference as it beeing a proxy.
2017-07-31 13:14:04 -04:00
Thibault Saunier
eae6b70523
asset: Clear loading error when reload is requested
2017-07-31 13:03:59 -04:00
Thibault Saunier
88a5894fbd
ges: Handle g_object_newv deprecation in latest GLib
2017-06-23 16:17:57 -04:00
Thibault Saunier
35256b47ff
docs: Port all docstring to gtk-doc markdown
2017-03-08 18:13:48 -03:00
Alexandru Băluț
872d15eb9d
asset: Fix set_proxy to abort when an error happens
...
Differential Revision: https://phabricator.freedesktop.org/D1574
2017-01-09 11:43:13 -03:00
Alexandru Băluț
6b9faec7dc
asset: Reuse local variable
...
Differential Revision: https://phabricator.freedesktop.org/D1573
2017-01-09 11:43:11 -03:00
Aurélien Zanelli
813c4b4fb7
ges: add some g-i annotations according to documentation
...
Mainly (transfer xxx) and (nullable). Also fix some typo.
https://bugzilla.gnome.org/show_bug.cgi?id=766459
2016-05-14 20:36:07 -03:00
Aurélien Zanelli
dc95299080
asset: fix ges_asset_set_proxy() return value documentation
...
https://bugzilla.gnome.org/show_bug.cgi?id=766459
2016-05-14 20:36:07 -03:00
Sebastian Dröge
7500fab036
ges-asset: Don't dereference NULL proxy assets when resolving fails
...
CID 1346531
2015-12-29 18:08:03 +02:00
Sebastian Dröge
4997c455f4
ges: Fix various g-i warnings
2015-12-26 09:43:23 +01:00
Thibault Saunier
f473386b88
asset: Add a way to set asset as "needing reload"
...
Allowing application to force the asset system to recheck if an
asset has been "fixed" and can be used again
API:
+ ges_asset_needs_reload
Differential Revision: https://phabricator.freedesktop.org/D584
2015-12-10 14:48:08 +01:00
Thibault Saunier
fa512ecdba
Implement asset proxying support
...
API:
ges_asset_set_proxy
ges_asset_get_proxy
ges_asset_list_proxies
ges_asset_get_proxy_target
Differential Revision: https://phabricator.freedesktop.org/D504
2015-12-10 14:48:02 +01:00
Thibault Saunier
5e069976f6
asset: Add a method to retrieve the GError of an asset loaded with error
...
API:
ges_asset_get_error
2015-11-08 22:56:41 +01:00
Justin Kim
8bce0baf62
asset: simplify if-statement in cache_set_loaded
...
Summary:
Manual iteration can be replaced with foreach function.
In addition, this patch fixes mismatched GFunc type for
g_list_foreach and adds debug cateory for gst-asset for
convenient debugging.
Reviewers: thiblahute
Reviewed By: thiblahute
Differential Revision: https://phabricator.freedesktop.org/D312
2015-10-02 16:19:14 +02:00
Thibault Saunier
724418b75d
assets: Avoid deadlock when done initialising asset
...
Avoid to hold the CACHE lock when setting the GTasks return values.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=752300
2015-07-13 13:54:35 +02:00
Thibault Saunier
7be28b29b2
asset: Port use of deprecated GSimpleAsyncResult to GTask
2015-07-06 10:32:32 +02:00
Thibault Saunier
a1bf40b9e1
ges: Assert if an asset is not in the global hashtable
...
COVERITY CID 1151679
2014-05-10 22:38:21 +02:00
Christoph Reiter
a66e674649
Include class related section documentation in the gir file.
...
g-ir-scanner includes section docs as class/interface docs if the section name is equal to the lowercase type name.
Since all the documentation is in section blocks, rename them to match the type names.
https://bugzilla.gnome.org/show_bug.cgi?id=727776
2014-04-07 22:13:25 +02:00
Alexandru Băluț
eef3861272
Minor documentation fixes: GESExtractable, GESAsset
2014-02-27 09:54:41 +01:00
Thibault Saunier
94dbf20400
ges-asset: Do not forget to give a ref to the registry
...
+ Add test in the testsuite
+ Fix broken tests
https://bugzilla.gnome.org/show_bug.cgi?id=721111
2014-01-30 22:27:54 +01:00
Thibault Saunier
ee36beb244
uri-asset: Check if file exists before trying it as a proxy
...
This avoids:
1- discovering file that we know do not exist
2- proposing the current proxy path (that failed) as a possible proxy
which lead to errors
2013-10-11 17:09:46 -03:00
Thibault Saunier
c84f4ec9fb
ges: Keep ges-gerror categories simple.
2013-03-22 17:39:04 -03:00
Thibault Saunier
855270566c
uri-asset: Implement a ges_uri_clip_asset_request_sync method
...
This way we let the possibility to the user to actually do it, but we avoid him to do it
without knowing it is absolutely not recommanded to.
API:
+ ges_uri_clip_asset_request_sync
2013-03-19 20:06:30 -03:00
Thibault Saunier
6a3331cc67
Start categorizing GError types in GES
2013-03-19 20:06:30 -03:00
Thibault Saunier
0767f08c7a
Always prefer gst_object_(un)ref over g_object_(un)ref
...
Making the refcount issue debugging easier
2013-03-18 12:48:41 -03:00
Thibault Saunier
e24cccabfd
Rename GESTrackParseLaunchEffect to GESEffect
2013-02-15 14:42:05 -03:00
Thibault Saunier
5da8fa89e2
Rename TrackEffect to BaseEffect
2013-02-15 14:42:05 -03:00
Thibault Saunier
d69964fd2a
Rename GESTrackObject to GESTrackElement
2013-02-15 14:42:05 -03:00
Thibault Saunier
6f4315b75d
Rename GESStandardTransitionClip to GESTransitionClip
2013-02-15 14:42:04 -03:00
Thibault Saunier
d7693b4014
Rename GESTimelineStandardTransition to GESStandardTransitionClip
2013-02-15 14:42:03 -03:00
Thibault Saunier
695c381bb1
Rename GESTimelineFileSource to GESUriClip
...
Conflicts:
ges/ges-pitivi-formatter.c
ges/ges-uri-clip.c
tests/check/ges/project.c
tests/check/ges/uriclip.c
2013-02-15 14:42:02 -03:00
Thibault Saunier
04a3c49ebd
Rename GESTimelineObject to GESClip
2013-02-15 14:42:02 -03:00
Thibault Saunier
1d397591af
project: Handle assets that are being loaded
...
API:
ges_project_get_loading_assets
2013-01-14 09:02:26 -03:00
Thibault Saunier
bf1e966d25
asset: Do not allow proxying over the same currently proxied asset
2012-12-30 23:12:27 -03:00
Thibault Saunier
38bc983502
asset: Fix some leaks
2012-12-30 23:12:27 -03:00
Thibault Saunier
96d3afce6e
asset: Avoid leaking the GParameter array and content
2012-12-29 19:38:50 -03:00
Thibault Saunier
67da662276
Misc documentation fixes
...
Using "#" a in short_description screws the display
2012-12-29 19:38:12 -03:00
Thibault Saunier
07ceb2ca40
ges: Create assets for all GESTimelineStandardTransition on ges_init()
...
+ Add some testsuite
2012-12-29 19:36:50 -03:00
Thibault Saunier
66abaa40d4
formatter: Make it work with GESProject
...
+ Compile new GESProject code
The formatter and projects should work together, and the user will in the end not need
the GESFormatter API in most cases. Start making that happening
Update the GESPitiviFormatter to the new behaviour and remove APIs that became
obselete
API:
+ Adds:
* Pass the GESFormatterClass to can_load/save_uri vmethods
* Add an @overwrite argumenent to ges_formatter_save_to_uri and the
corresponding vmethod
* Add name, description, extension, mimetype, version, rank metadatas
to GESFormatterClass
+ Removes:
* ges_pitivi_formatter_set_sources:
* ges_pitivi_formatter_get_sources:
2012-12-19 18:59:50 -03:00