From 0cc902487de2f9ac1a4d0806cc608675bb442a25 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 27 Jul 2011 05:36:36 +0000 Subject: [PATCH] Remove a now-bogus sanity check on thread count in the ffms video provider Originally committed to SVN as r5522. --- aegisub/src/video_provider_ffmpegsource.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/aegisub/src/video_provider_ffmpegsource.cpp b/aegisub/src/video_provider_ffmpegsource.cpp index 99c990260..84106df95 100644 --- a/aegisub/src/video_provider_ffmpegsource.cpp +++ b/aegisub/src/video_provider_ffmpegsource.cpp @@ -197,8 +197,6 @@ void FFmpegSourceVideoProvider::LoadVideo(wxString filename) { // set thread count int Threads = OPT_GET("Provider/Video/FFmpegSource/Decoding Threads")->GetInt(); - if (Threads < 1) - throw VideoOpenError("invalid decoding thread count"); // set seekmode // TODO: give this its own option?