Skip to content

Commit

Permalink
Merge pull request #783 from g-maxime/ffmpeg
Browse files Browse the repository at this point in the history
Windows GUI: Fix ffmpeg plugin checking
  • Loading branch information
JeromeMartinez committed Jan 31, 2024
2 parents 64214ee + 5765e9a commit 7abd95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/GUI/VCL/GUI_Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ void __fastcall TMainF::GUI_Configure()
Ztring InstallFolder = Application->ExeName.c_str();
InstallFolder = InstallFolder.substr(0, InstallFolder.rfind(__T("\\")) + 1);

if (!File::Exists(InstallFolder + __T("\\Plugin\\FFmpeg\\version.txt"))) //Try to install plugin
if (Prefs->Config(__T("EnableFfmpeg"), 1) == __T("1") && !File::Exists(InstallFolder + __T("\\Plugin\\FFmpeg\\version.txt"))) //Try to install plugin
{
TPluginF* P = new TPluginF(this, PLUGIN_FFMPEG);
if (P->Configure())
Expand Down

0 comments on commit 7abd95a

Please sign in to comment.