mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
bestsource: Unify some messages with ffms2's
This commit is contained in:
parent
d2c46f5dca
commit
0c057ebddb
@ -56,7 +56,7 @@ BSAudioProvider::BSAudioProvider(agi::fs::path const& filename, agi::BackgroundR
|
||||
{
|
||||
bs.SetMaxCacheSize(OPT_GET("Provider/Audio/BestSource/Max Cache Size")->GetInt() << 20);
|
||||
br->Run([&](agi::ProgressSink *ps) {
|
||||
ps->SetTitle(from_wx(_("Exacting")));
|
||||
ps->SetTitle(from_wx(_("Indexing")));
|
||||
ps->SetMessage(from_wx(_("Creating cache... This can take a while!")));
|
||||
ps->SetIndeterminate();
|
||||
if (bs.GetExactDuration()) {
|
||||
|
@ -115,7 +115,7 @@ BSVideoProvider::BSVideoProvider(agi::fs::path const& filename, std::string cons
|
||||
}
|
||||
|
||||
br->Run([&](agi::ProgressSink *ps) {
|
||||
ps->SetTitle(from_wx(_("Exacting")));
|
||||
ps->SetTitle(from_wx(_("Indexing")));
|
||||
ps->SetMessage(from_wx(_("Creating cache... This can take a while!")));
|
||||
ps->SetIndeterminate();
|
||||
if (bs.GetExactDuration()) {
|
||||
@ -126,7 +126,7 @@ BSVideoProvider::BSVideoProvider(agi::fs::path const& filename, std::string cons
|
||||
|
||||
br->Run([&](agi::ProgressSink *ps) {
|
||||
ps->SetTitle(from_wx(_("Scanning")));
|
||||
ps->SetMessage(from_wx(_("Finding Keyframes and Timecodes...")));
|
||||
ps->SetMessage(from_wx(_("Reading timecodes and frame/sample data")));
|
||||
|
||||
std::vector<int> TimecodesVector;
|
||||
for (int n = 0; n < properties.NumFrames; n++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user