vd_ffmpeg: fix thread count setting with latest ffmpeg-mt
commit7131fceb0b80c462604e65fe1869db6e14791b4e
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 29 Mar 2011 15:54:33 +0000 (29 18:54 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 29 Mar 2011 15:54:33 +0000 (29 18:54 +0300)
treedbd157bfc0d2e0ee088ca9272525f2c9875b060c
parent16e29bebf05b9ae39ebb2f4aa6afb7496fab3ca6
vd_ffmpeg: fix thread count setting with latest ffmpeg-mt

Recent ffmpeg-mt versions changed the API for setting the number of
decoding threads to use (I'm not sure whether dropping backwards
compatibility was intentional or not). As a result only one thread was
used. Make the thread setting compatible with the new API to restore
proper multithreaded decoding.
libmpcodecs/vd_ffmpeg.c