From 2eefa31c886723bcc30664ea9fe3e2420f2cc0c6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 17:47:38 +0100 Subject: video/decode: mp_msg conversions Doesn't cover vdpau/vaapi parts yet, because these are a bit messier. --- player/video.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'player/video.c') diff --git a/player/video.c b/player/video.c index 518c771238..9b26209d2a 100644 --- a/player/video.c +++ b/player/video.c @@ -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; -- cgit v1.2.3