{player,video}: remove references to obsolete opengl-cb API

This commit is contained in:
sfan5
2021-11-29 12:39:20 +01:00
parent 0bb15c7a13
commit 72915e8b76
9 changed files with 14 additions and 50 deletions

View File

@@ -176,9 +176,9 @@ int init_video_decoder(struct MPContext *mpctx, struct track *track)
// If possible, set this as parent so the decoder gets the hwdec and DR
// interfaces.
// Note: at least mpv_opengl_cb_uninit_gl() relies on being able to get
// rid of all references to the VO by destroying the VO chain. Thus,
// decoders not linked to vo_chain must not use the hwdec context.
// Note: We rely on being able to get rid of all references to the VO by
// destroying the VO chain. Thus, decoders not linked to vo_chain
// must not use the hwdec context.
if (track->vo_c)
parent = track->vo_c->filter->f;