aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-07-28 11:53:18 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-07-28 15:13:46 +0200
commit4ce87ecf2a8a8a9348f9bdbb420f3bee92e6513f (patch)
tree9f5eeb097060816e870e4cf394c96030bc6433ad /doc/filters.texi
parentfb0688b079c3751bcd4d64200280858a33e0b9cc (diff)
downloadffmpeg-4ce87ecf2a8a8a9348f9bdbb420f3bee92e6513f.tar.gz
asrc_flite: do not crash on multiple instances.
The voice register functions return the same voice structure upon multiple registration. It causes us two problems: If we delete a voice without deregistering it, it leaves a dangling pointer inside the library. If we delete or unregister a voice at uninit, it may still be in use by another instance of the filter. The second problem is solved by keeping an usage counter inside asrc_flite. This is not thread-safe, but neither is flite itself.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 37d9e40221..dd5b32c42d 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1033,6 +1033,8 @@ Synthesize a voice utterance using the libflite library.
To enable compilation of this filter you need to configure FFmpeg with
@code{--enable-libflite}.
+Note that the flite library is not thread-safe.
+
The source accepts parameters as a list of @var{key}=@var{value} pairs,
separated by ":".