mirror of https://github.com/mpv-player/mpv
vo_corevideo: uninitialize CoreVideo objects before OpenGL
This commit is contained in:
parent
4d11f32162
commit
821c01a5f5
|
@ -280,8 +280,8 @@ static void uninit(struct vo *vo)
|
||||||
struct priv *p = vo->priv;
|
struct priv *p = vo->priv;
|
||||||
if (p->osd)
|
if (p->osd)
|
||||||
mpgl_osd_destroy(p->osd);
|
mpgl_osd_destroy(p->osd);
|
||||||
mpgl_uninit(p->mpglctx);
|
|
||||||
release_cv_entities(vo);
|
release_cv_entities(vo);
|
||||||
|
mpgl_uninit(p->mpglctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue