summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 17:47:38 +0100
committerwm4 <wm4@nowhere>2013-12-21 20:50:10 +0100
commit2eefa31c886723bcc30664ea9fe3e2420f2cc0c6 (patch)
tree4f3f6a163a46cf03ba4a2bc50b2527ebce40edc2 /player
parent426ebbae5ff578923a83a4395ff499f0348f7dcc (diff)
downloadmpv-2eefa31c886723bcc30664ea9fe3e2420f2cc0c6.tar.bz2
mpv-2eefa31c886723bcc30664ea9fe3e2420f2cc0c6.tar.xz
video/decode: mp_msg conversions
Doesn't cover vdpau/vaapi parts yet, because these are a bit messier.
Diffstat (limited to 'player')
-rw-r--r--player/video.c2
1 files changed, 2 insertions, 0 deletions
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;