diff options
Diffstat (limited to 'player/video.c')
-rw-r--r-- | player/video.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/player/video.c b/player/video.c index 6ea3e4c6e8..ee0e89c93a 100644 --- a/player/video.c +++ b/player/video.c @@ -496,6 +496,9 @@ int reinit_video_chain_src(struct MPContext *mpctx, struct lavfi_pad *src) vo_c->hwdec_devs = vo_c->vo->hwdec_devs; + if (mpctx->lavfi) + lavfi_set_hwdec_devs(mpctx->lavfi, vo_c->hwdec_devs); + vo_c->filter_src = src; if (!vo_c->filter_src) { vo_c->track = track; |