Fix error in config path in FFmpeg options dialog...

... Two controls were associated with the same path,
"/FileFormats/FFmpegMaxPredOrder"

But where the paths are read in ExportFFmpeg.cpp, that was read in one place,
and in another, "/FileFormats/FFmpegMaxPartOrder" was read, and that path was
not written anywhere.

The intention was surely that the other spin control should have used that path.
This commit is contained in:
Paul Licameli 2019-04-06 10:38:27 -04:00
parent 691666bf79
commit f4622af749
1 changed files with 1 additions and 1 deletions

View File

@ -1567,7 +1567,7 @@ void ExportFFmpegOptions::PopulateOrExchange(ShuttleGui & S)
mMinPartitionOrderSpin = S.Id(FEMinPartOrderID).TieSpinCtrl(_("Min. PtO"), wxT("/FileFormats/FFmpegMinPartOrder"), -1, 8, -1);
mMinPartitionOrderSpin->SetToolTip(_("Minimal partition order\nOptional\n-1 - default\nmin - 0\nmax - 8"));
mMaxPartitionOrderSpin = S.Id(FEMaxPartOrderID).TieSpinCtrl(_("Max. PtO"), wxT("/FileFormats/FFmpegMaxPredOrder"), -1, 8, -1);
mMaxPartitionOrderSpin = S.Id(FEMaxPartOrderID).TieSpinCtrl(_("Max. PtO"), wxT("/FileFormats/FFmpegMaxPartOrder"), -1, 8, -1);
mMaxPartitionOrderSpin->SetToolTip(_("Maximal partition order\nOptional\n-1 - default\nmin - 0\nmax - 8"));
S.AddVariableText(_("Use LPC"));