Don't force ffms2 threads to 1 if it's recent enough
Originally committed to SVN as r6909.
This commit is contained in:
parent
77821c10b7
commit
9f7bdd8d17
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ void FFmpegSourceVideoProvider::LoadVideo(wxString filename) {
|
|||
|
||||
// set thread count
|
||||
int Threads = OPT_GET("Provider/Video/FFmpegSource/Decoding Threads")->GetInt();
|
||||
if (FFMS_GetSourceType(Index) == FFMS_SOURCE_LAVF)
|
||||
if (FFMS_GetVersion() < ((2 << 24) | (17 << 16) | (2 << 8) | 1) && FFMS_GetSourceType(Index) == FFMS_SOURCE_LAVF)
|
||||
Threads = 1;
|
||||
|
||||
// set seekmode
|
||||
|
|
Loading…
Reference in a new issue