mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
{player,video}: remove references to obsolete opengl-cb API
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user