diff options
author | 2012-01-16 23:34:03 +0200 | |
---|---|---|
committer | 2012-01-17 00:07:27 +0200 | |
commit | c4093e7d872d2daa485029b8b36661411387ef37 (patch) | |
tree | 2a584c94d46975f11a64376860f39bffdb6af958 /libmpcodecs/vf_filmdint.c | |
parent | 6c57eeb7ad496afd1fd74b1133542e40e86b0875 (diff) |
vd_ffmpeg: explicitly set thread count even if 1
Libav started automatically enabling threaded decoding a while ago.
This is not safe, as it means callbacks can suddenly get called from
other threads and outside calls to libavcodec. We need to know when
threading will be used and disable thread-unsafe callbacks in those
cases. Explicitly set thread count to 1 instead of leaving it at 0
(which triggers the autodetection) when we are not requesting more
threads; this should make sure that autodetection on libavcodec side
will not be used.
Diffstat (limited to 'libmpcodecs/vf_filmdint.c')
0 files changed, 0 insertions, 0 deletions