[MPlayer-cvslog] r37562 - trunk/libvo/vo_gl.c

al subversion at mplayerhq.hu
Fri Dec 11 00:38:36 CET 2015


Author: al
Date: Fri Dec 11 00:38:36 2015
New Revision: 37562

Log:
vo gl: Output complete suboption help

The output is incomplete because of the buffer in mp_msg
implementation being smaller than the help output.

Fixing it by increasing the maximal message length in
mp_msg.c seems not wise, as usually 2 buffers of that
length are allocated on the stack.

So just print help with 2 mp_msg calls.

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Wed Nov 25 14:55:58 2015	(r37561)
+++ trunk/libvo/vo_gl.c	Fri Dec 11 00:38:36 2015	(r37562)
@@ -1334,7 +1334,8 @@ static int preinit_internal(const char *
               "  customtrect\n"
               "    use texture_rectangle for customtex texture\n"
               "  mipmapgen\n"
-              "    generate mipmaps for the video image (use with TXB in customprog)\n"
+              "    generate mipmaps for the video image (use with TXB in customprog)\n" );
+      mp_msg(MSGT_VO, MSGL_FATAL,
               "  osdcolor=<0xAARRGGBB>\n"
               "    use the given color for the OSD\n"
               "  stereo=<n> (add 32 to swap left and right)\n"


More information about the MPlayer-cvslog mailing list