mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
matroska: Initialise a video_context field to satisfy valgrind
Clear the mastering_display_info_present field explicitly after reallocating the track context into a video context to avoid uninitialised warnings in valgrind
This commit is contained in:
parent
ac55681bbf
commit
2479ccac7d
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ gst_matroska_track_init_video_context (GstMatroskaTrackContext ** p_context)
|
|||
video_context->colorimetry.primaries = GST_VIDEO_COLOR_PRIMARIES_UNKNOWN;
|
||||
gst_video_mastering_display_info_init
|
||||
(&video_context->mastering_display_info);
|
||||
video_context->mastering_display_info_present = FALSE;
|
||||
gst_video_content_light_level_init (&video_context->content_light_level);
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue