summaryrefslogtreecommitdiffstats
path: root/core/mplayer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-31 21:44:21 +0200
committerwm4 <wm4@nowhere>2013-07-31 21:46:40 +0200
commit03bef3adfd846fc1dda88a888df972f4b501fb40 (patch)
treeed96c695c75a5cbfc7afa4bf6b3eff38b53d4410 /core/mplayer.c
parent88d79fc00df39dc0180de86c758697f5ab3e56cb (diff)
downloadmpv-03bef3adfd846fc1dda88a888df972f4b501fb40.tar.bz2
mpv-03bef3adfd846fc1dda88a888df972f4b501fb40.tar.xz
video/out: use new mp_msg stuff for vo.c and vo_opengl
The first step; also serves as example.
Diffstat (limited to 'core/mplayer.c')
-rw-r--r--core/mplayer.c2
1 files changed, 1 insertions, 1 deletions
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 "