[Ffmpeg-devel] [PATCH] drawtext.c: 06 fix skip underscore

Gustavo Sverzut Barbieri barbieri
Sun Sep 10 20:04:29 CEST 2006


vhook cmdline argument doesn't like nested spaces, so in order to have
spaces in strings used in command line I have to replace underscore
with spaces, but only when used from command line, so if someone want
to use underscores, one may use a file.

Note that in my usage, a security camera application, I use strings
from command line more than file, that's why this behaviour.

This patch also removes unused code inside draw_glyphs loop (increment
pen position).

-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri at gmail.com
   MSN: barbieri at gmail.com
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
 Phone:  +1 (347) 624 6296; 08122692 at sip.stanaphone.com
   GPG: 0xB640E1A2 @ wwwkeys.pgp.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drawtext_06-fix_skip_underscore_behaviour.patch
Type: text/x-patch
Size: 1798 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060910/d4792250/attachment.bin>



More information about the ffmpeg-devel mailing list