Commit c772af6d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Rémi Denis-Courmont

bluray: Add missing vlc_mutex_init

This should fix #6875
(cherry picked from commit a5c381a215d7b4deda2b338dbc7ab9c585399ee7)
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent fcde0be3
......@@ -576,6 +576,7 @@ static void blurayInitOverlay(demux_t *p_demux, const BD_OVERLAY* const ov)
.pf_destroy = subpictureUpdaterDestroy,
.p_sys = p_upd_sys,
};
vlc_mutex_init(&p_sys->p_overlays[ov->plane]->lock);
p_sys->p_overlays[ov->plane]->p_pic = subpicture_New(&updater);
p_sys->p_overlays[ov->plane]->p_pic->i_original_picture_width = ov->w;
p_sys->p_overlays[ov->plane]->p_pic->i_original_picture_height = ov->h;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment