mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
registrychunks: Make sure we use aligned memory
This is in the same vein as for all other features. Some systems might not allow unaligned read.
This commit is contained in:
parent
b8b03f69b0
commit
40c5396c24
1 changed files with 1 additions and 0 deletions
|
@ -709,6 +709,7 @@ gst_registry_chunks_load_feature (GstRegistry * registry, gchar ** in,
|
||||||
} else if (GST_IS_DYNAMIC_TYPE_FACTORY (feature)) {
|
} else if (GST_IS_DYNAMIC_TYPE_FACTORY (feature)) {
|
||||||
GstRegistryChunkDynamicTypeFactory *tmp;
|
GstRegistryChunkDynamicTypeFactory *tmp;
|
||||||
|
|
||||||
|
align (*in);
|
||||||
unpack_element (*in, tmp, GstRegistryChunkDynamicTypeFactory, end, fail);
|
unpack_element (*in, tmp, GstRegistryChunkDynamicTypeFactory, end, fail);
|
||||||
|
|
||||||
pf = (GstRegistryChunkPluginFeature *) tmp;
|
pf = (GstRegistryChunkPluginFeature *) tmp;
|
||||||
|
|
Loading…
Reference in a new issue