summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-11-29 12:39:20 +0100
committersfan5 <sfan5@live.de>2021-12-15 12:29:10 +0100
commit72915e8b76b2e5da9ddc90e892a544b6de512f39 (patch)
tree620a9384ee691e8a0925e018a9b81504a209454e /player/video.c
parent0bb15c7a133a0c213f5098d54b37c5d79718b79e (diff)
downloadmpv-72915e8b76b2e5da9ddc90e892a544b6de512f39.tar.bz2
mpv-72915e8b76b2e5da9ddc90e892a544b6de512f39.tar.xz
{player,video}: remove references to obsolete opengl-cb API
Diffstat (limited to 'player/video.c')
-rw-r--r--player/video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/player/video.c b/player/video.c
index 734835d850..cae23df1c8 100644
--- a/player/video.c
+++ b/player/video.c
@@ -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;