applemedia: fix chaining up GObject's constructed virtual method

Fixes #4224

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8446>
This commit is contained in:
Alexander Slobodeniuk 2025-02-10 15:01:14 +01:00 committed by GStreamer Marge Bot
parent 0d98646dd5
commit 80b99f08dd
2 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,7 @@ gst_video_texture_cache_gl_constructed (GObject * object)
{
GstVideoTextureCacheGL *cache_gl = GST_VIDEO_TEXTURE_CACHE_GL (object);
G_OBJECT_CLASS (gst_video_texture_cache_gl_parent_class)->constructed (object);
g_return_if_fail (GST_IS_GL_CONTEXT (cache_gl->ctx));
#ifdef HAVE_IOS

View File

@ -138,6 +138,7 @@ gst_video_texture_cache_vulkan_constructed (GObject * object)
{
GstVideoTextureCacheVulkan *cache_vulkan = GST_VIDEO_TEXTURE_CACHE_VULKAN (object);
G_OBJECT_CLASS (gst_video_texture_cache_vulkan_parent_class)->constructed (object);
g_return_if_fail (GST_IS_VULKAN_DEVICE (cache_vulkan->device));
gst_io_surface_vulkan_memory_init ();