History

doc/filters: consistently use '"' for quoting the drawtext arguments in examples

Stefano Sabatini committed 14 years ago

Commit 20f47eb1 parent 126ba161 file · +4 −4Browse files

Unified · Split

doc/filters.texi+4−4
@@ -1476,7 +1476,7 @@ within the parameter list. · 1475 unmodified lines
14761476 @item
14771477 Show the text at the center of the video frame:
14781478 @example
1479−drawtext=fontsize=30:fontfile=FreeSerif.ttf:text='hello world':x=(w-text_w)/2:y=(h-text_h-line_h)/2"
1479+drawtext="fontsize=30:fontfile=FreeSerif.ttf:text='hello world':x=(w-text_w)/2:y=(h-text_h-line_h)/2"
14801480 @end example
14811481
14821482 @item
@@ -1484,20 +1484,20 @@ Show a text line sliding from right to left in the last row of the video · 1 unmodified line
14841484 frame. The file @file{LONG_LINE} is assumed to contain a single line
14851485 with no newlines.
14861486 @example
1487−drawtext=fontsize=15:fontfile=FreeSerif.ttf:text=LONG_LINE:y=h-line_h:x=-50*t
1487+drawtext="fontsize=15:fontfile=FreeSerif.ttf:text=LONG_LINE:y=h-line_h:x=-50*t"
14881488 @end example
14891489
14901490 @item
14911491 Show the content of file @file{CREDITS} off the bottom of the frame and scroll up.
14921492 @example
1493−drawtext=fontsize=20:fontfile=FreeSerif.ttf:textfile=CREDITS:y=h-20*t"
1493+drawtext="fontsize=20:fontfile=FreeSerif.ttf:textfile=CREDITS:y=h-20*t"
14941494 @end example
14951495
14961496 @item
14971497 Draw a single green letter "g", at the center of the input video.
14981498 The glyph baseline is placed at half screen height.
14991499 @example
1500−drawtext=fontsize=60:fontfile=FreeSerif.ttf:fontcolor=green:text=g:x=(w-max_glyph_w)/2:y=h/2-ascent
1500+drawtext="fontsize=60:fontfile=FreeSerif.ttf:fontcolor=green:text=g:x=(w-max_glyph_w)/2:y=h/2-ascent"
15011501 @end example
15021502
15031503 @item

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t