[Ffmpeg-devel] [PATCH] drawtext.c: 06 fix skip underscore
Sun Sep 10 21:52:13 CEST 2006
"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'"
If you want to fix this, a better approach would be to implement
support for quotes. The wordexp() function could come in handy there.
mru at inprovide.com
More information about the ffmpeg-devel