mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
video/decode: mp_msg conversions
Doesn't cover vdpau/vaapi parts yet, because these are a bit messier.
This commit is contained in:
@@ -164,6 +164,8 @@ int reinit_video_chain(struct MPContext *mpctx)
|
||||
|
||||
struct dec_video *d_video = talloc_zero(NULL, struct dec_video);
|
||||
mpctx->d_video = d_video;
|
||||
d_video->global = mpctx->global;
|
||||
d_video->log = mp_log_new(d_video, mpctx->log, "!vd");
|
||||
d_video->opts = mpctx->opts;
|
||||
d_video->header = sh;
|
||||
d_video->fps = sh->video->fps;
|
||||
|
||||
Reference in New Issue
Block a user