mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
vulkan/videoutils: silence some maybe-unitialized warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
parent
8e758c715b
commit
605cff0642
1 changed files with 3 additions and 2 deletions
|
@ -108,8 +108,9 @@ GstCaps *
|
||||||
gst_vulkan_video_profile_to_caps (const GstVulkanVideoProfile * profile)
|
gst_vulkan_video_profile_to_caps (const GstVulkanVideoProfile * profile)
|
||||||
{
|
{
|
||||||
#if GST_VULKAN_HAVE_VIDEO_EXTENSIONS
|
#if GST_VULKAN_HAVE_VIDEO_EXTENSIONS
|
||||||
const char *mime, *chroma_sub, *profile_str = NULL, *layout = NULL;
|
const char *mime = NULL, *chroma_sub = NULL;
|
||||||
int i, luma, chroma;
|
const char *profile_str = NULL, *layout = NULL;
|
||||||
|
int i, luma = 0, chroma = 0;
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
g_return_val_if_fail (profile
|
g_return_val_if_fail (profile
|
||||||
|
|
Loading…
Reference in a new issue