From 03bef3adfd846fc1dda88a888df972f4b501fb40 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 31 Jul 2013 21:44:21 +0200 Subject: video/out: use new mp_msg stuff for vo.c and vo_opengl The first step; also serves as example. --- core/mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/mplayer.c b/core/mplayer.c index 626c95111f..eff8e66fdd 100644 --- a/core/mplayer.c +++ b/core/mplayer.c @@ -2345,7 +2345,7 @@ int reinit_video_chain(struct MPContext *mpctx) double ar = -1.0; //================== Init VIDEO (codec & libvo) ========================== if (!opts->fixed_vo || !(mpctx->initialized_flags & INITIALIZED_VO)) { - mpctx->video_out = init_best_video_out(&opts->vo, mpctx->input, + mpctx->video_out = init_best_video_out(mpctx->global, mpctx->input, mpctx->encode_lavc_ctx); if (!mpctx->video_out) { mp_tmsg(MSGT_CPLAYER, MSGL_FATAL, "Error opening/initializing " -- cgit v1.2.3