projects
/
platform
/
upstream
/
gst-editing-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3332e5
)
ges: Register formatters during meta registration
author
Thibault Saunier
<tsaunier@igalia.com>
Mon, 14 Jan 2019 21:32:23 +0000
(18:32 -0300)
committer
Thibault Saunier
<tsaunier@igalia.com>
Mon, 14 Jan 2019 21:32:38 +0000
(18:32 -0300)
So that formatters implemented outside GES itself are registered
ges/ges-formatter.c
patch
|
blob
|
history
diff --git
a/ges/ges-formatter.c
b/ges/ges-formatter.c
index
03fe4e2
..
238c562
100644
(file)
--- a/
ges/ges-formatter.c
+++ b/
ges/ges-formatter.c
@@
-449,6
+449,10
@@
ges_formatter_class_register_metas (GESFormatterClass * class,
class->mimetype = mimetype;
class->version = version;
class->rank = rank;
+
+ if (ges_is_initialized () && g_type_class_peek (G_OBJECT_CLASS_TYPE (class)))
+ gst_object_unref (ges_asset_request (G_OBJECT_CLASS_TYPE (class), NULL,
+ NULL));
}
/* Main Formatter methods */