diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-03-09 19:58:02 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-03-09 19:58:02 +0200 |
commit | 173beb5608d893c0d9b42c1043f1dfa2db2e4df2 (patch) | |
tree | 9d91be39eb1a2edb2eec45d537630f518e04378a /libvo/vo_gl.c | |
parent | ed0237e7d3c491282fbdc29c5ac294425055de57 (diff) | |
parent | c5b0ff1cfacfa502eb0647f329756ddf7c79fcb6 (diff) | |
download | mpv-173beb5608d893c0d9b42c1043f1dfa2db2e4df2.tar.bz2 mpv-173beb5608d893c0d9b42c1043f1dfa2db2e4df2.tar.xz |
Merge svn changes up to r30514
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r-- | libvo/vo_gl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 3101d51d9a..8611496a53 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -1148,20 +1148,20 @@ static int preinit(const char *arg) "\n" ); return -1; } - if (many_fmts) - mp_msg(MSGT_VO, MSGL_INFO, "[gl] using extended formats. " - "Use -vo gl:nomanyfmts if playback fails.\n"); - mp_msg(MSGT_VO, MSGL_V, "[gl] Using %d as slice height " - "(0 means image height).\n", slice_height); if (!init_mpglcontext(&glctx, gltype)) goto err_out; if (use_yuv == -1) { - if (create_window(320, 200, 0, NULL) < 0) + if (create_window(320, 200, VOFLAG_HIDDEN, NULL) < 0) goto err_out; if (glctx.setGlWindow(&glctx) == SET_WINDOW_FAILED) goto err_out; autodetectGlExtensions(); } + if (many_fmts) + mp_msg(MSGT_VO, MSGL_INFO, "[gl] using extended formats. " + "Use -vo gl:nomanyfmts if playback fails.\n"); + mp_msg(MSGT_VO, MSGL_V, "[gl] Using %d as slice height " + "(0 means image height).\n", slice_height); return 0; |