dynamic types: Implement dynamic types in the registry
authorJan Schmidt <jan@centricular.com>
Wed, 13 May 2015 14:25:21 +0000 (00:25 +1000)
committerJan Schmidt <jan@centricular.com>
Wed, 2 Nov 2016 00:21:37 +0000 (11:21 +1100)
commite1dc60524e31a5c52aff7fbb9b67e62b29c0ac66
treec360aeca76216c48b2ed7a8a0ddece4da3cbc319
parent812d4976f08de77a03b9a68ad7f44c191e2d4bc4
dynamic types: Implement dynamic types in the registry

Implement GstDynamicTypeFactory as a new registry feature.

GstDynamicTypeFactory provides a way of registering a GType
into the registry, such that it will be registered as a dynamic
type when the registry is loaded, and then automatically loaded
if the type is needed during caps parsing.

This allows using non-core types in pad templates, by loading a
registry feature to create the GType on the fly.

https://bugzilla.gnome.org/show_bug.cgi?id=750079
12 files changed:
gst/Makefile.am
gst/gst.h
gst/gst_private.h
gst/gstdynamictypefactory.c [new file with mode: 0644]
gst/gstdynamictypefactory.h [new file with mode: 0644]
gst/gstelementfactory.h
gst/gstregistrybinary.c
gst/gstregistrychunks.c
gst/gstregistrychunks.h
gst/gststructure.c
gst/gstvalue.c
win32/common/libgstreamer.def