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

Gustavo Sverzut Barbieri barbieri
Sun Sep 10 21:59:39 CEST 2006


On 9/10/06, M?ns Rullg?rd <mru at inprovide.com> wrote:
> "Gustavo Sverzut Barbieri" <barbieri at gmail.com> writes:
>
> > On 9/10/06, M?ns Rullg?rd <mru at inprovide.com> wrote:
> >> "Gustavo Sverzut Barbieri" <barbieri at gmail.com> writes:
> >>
> >> > 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.
> >>
> >> What are "nested spaces"?  Are you sure there's no cleaner solution?
> >
> > ./ffmpeg -vhook "./vhook/drawtext.so -ttest_abc"
> >
> > works, while
> >
> > ./ffmpeg -vhook "./vhook/drawtext.so -t'test abc'"
> >
> > doesn't.
>
> If you want to fix this, a better approach would be to implement
> support for quotes.  The wordexp() function could come in handy there.

Okay, so I'll remove this and later fix vhook.

Is this ok now?

-- 
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-try3.patch
Type: text/x-patch
Size: 1186 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060910/374e49c2/attachment.bin>



More information about the ffmpeg-devel mailing list