diff options
Diffstat (limited to 'video/out/vo_opengl_old.c')
-rw-r--r-- | video/out/vo_opengl_old.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/video/out/vo_opengl_old.c b/video/out/vo_opengl_old.c index d4710e02d4..cd92acfaa0 100644 --- a/video/out/vo_opengl_old.c +++ b/video/out/vo_opengl_old.c @@ -565,7 +565,7 @@ static void replace_var_char(char **text, const char *name, char replace) // Append template to *text. Possibly initialize *text if it's NULL. static void append_template(char **text, const char* template) { - if (!text) + if (!*text) *text = talloc_strdup(NULL, template); else *text = talloc_strdup_append(*text, template); @@ -2261,9 +2261,6 @@ static int preinit(struct vo *vo, const char *arg) goto err_out; autodetectGlExtensions(vo); } - if (p->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", p->slice_height); |