diff options
author | wm4 <wm4@nowhere> | 2013-07-31 21:44:21 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-31 21:46:40 +0200 |
commit | 03bef3adfd846fc1dda88a888df972f4b501fb40 (patch) | |
tree | ed96c695c75a5cbfc7afa4bf6b3eff38b53d4410 /video/out/vo_opengl.c | |
parent | 88d79fc00df39dc0180de86c758697f5ab3e56cb (diff) | |
download | mpv-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 'video/out/vo_opengl.c')
-rw-r--r-- | video/out/vo_opengl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c index ee9c2a06ee..10e7fdf527 100644 --- a/video/out/vo_opengl.c +++ b/video/out/vo_opengl.c @@ -75,7 +75,7 @@ static void resize(struct gl_priv *p) { struct vo *vo = p->vo; - mp_msg(MSGT_VO, MSGL_V, "[gl] Resize: %dx%d\n", vo->dwidth, vo->dheight); + MP_VERBOSE(vo, "Resize: %dx%d\n", vo->dwidth, vo->dheight); struct mp_rect wnd = {0, 0, vo->dwidth, vo->dheight}; struct mp_rect src, dst; @@ -319,7 +319,7 @@ static int preinit(struct vo *vo) if (p->gl->SwapInterval) p->gl->SwapInterval(p->swap_interval); - p->renderer = gl_video_init(p->gl); + p->renderer = gl_video_init(p->gl, vo->log); gl_video_set_output_depth(p->renderer, p->glctx->depth_r, p->glctx->depth_g, p->glctx->depth_b); gl_video_set_options(p->renderer, p->renderer_opts); |