summaryrefslogtreecommitdiff
path: root/doc/codecs.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2014-06-09 19:02:53 +0200
committerStefano Sabatini <stefasab@gmail.com>2014-06-20 12:12:46 +0200
commit8c443767995db7905282239f2a467a995609a6ff (patch)
treed5e5295d374e34948cfce8311127c4b7a79b3c9f /doc/codecs.texi
parentcc0057a31c7097839f9c4e4da61e2933b5b0e055 (diff)
doc/codecs: extend documentation for thread_type option
Based on avcodec.h documentation.
Diffstat (limited to 'doc/codecs.texi')
-rw-r--r--doc/codecs.texi15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/codecs.texi b/doc/codecs.texi
index e1a244d6ad..1160e5d800 100644
--- a/doc/codecs.texi
+++ b/doc/codecs.texi
@@ -1035,15 +1035,26 @@ Set the log level offset.
Number of slices, used in parallelized encoding.
@item thread_type @var{flags} (@emph{decoding/encoding,video})
-Select multithreading type.
+Select which multithreading methods to use.
+
+Use of @samp{frame} will increase decoding delay by one frame per
+thread, so clients which cannot provide future frames should not use
+it.
Possible values:
@table @samp
@item slice
+Decode more than one part of a single frame at once.
-@item frame
+Multithreading using slices works only when the video was encoded with
+slices.
+@item frame
+Decode more than one frame at once.
@end table
+
+Default value is @samp{slice+frame}.
+
@item audio_service_type @var{integer} (@emph{encoding,audio})
Set audio service type.