mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
ges: Register formatters during meta registration
So that formatters implemented outside GES itself are registered
This commit is contained in:
parent
b3332e5ab3
commit
463ded894a
1 changed files with 4 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue