video/decode: mp_msg conversions

Doesn't cover vdpau/vaapi parts yet, because these are a bit messier.
This commit is contained in:
wm4
2013-12-21 17:47:38 +01:00
parent 426ebbae5f
commit 2eefa31c88
6 changed files with 73 additions and 65 deletions

View File

@@ -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;