diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ffmpeg.texi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 8418573618..082eba5f14 100644 --- a/doc/ffmpeg.texi +++ b/doc/ffmpeg.texi @@ -1096,6 +1096,21 @@ device type: @item cuda @var{device} is the number of the CUDA device. +The following options are recognized: +@table @option +@item primary_ctx +If set to 1, uses the primary device context instead of creating a new one. +@end table + +Examples: +@table @emph +@item -init_hw_device cuda:1 +Choose the second device on the system. + +@item -init_hw_device cuda:0,primary_ctx=1 +Choose the first device and use the primary device context. +@end table + @item dxva2 @var{device} is the number of the Direct3D 9 display adapter. |