mirror of https://github.com/odrling/Aegisub
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);
|
bs.SetMaxCacheSize(OPT_GET("Provider/Audio/BestSource/Max Cache Size")->GetInt() << 20);
|
||||||
br->Run([&](agi::ProgressSink *ps) {
|
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->SetMessage(from_wx(_("Creating cache... This can take a while!")));
|
||||||
ps->SetIndeterminate();
|
ps->SetIndeterminate();
|
||||||
if (bs.GetExactDuration()) {
|
if (bs.GetExactDuration()) {
|
||||||
|
|
|
@ -115,7 +115,7 @@ BSVideoProvider::BSVideoProvider(agi::fs::path const& filename, std::string cons
|
||||||
}
|
}
|
||||||
|
|
||||||
br->Run([&](agi::ProgressSink *ps) {
|
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->SetMessage(from_wx(_("Creating cache... This can take a while!")));
|
||||||
ps->SetIndeterminate();
|
ps->SetIndeterminate();
|
||||||
if (bs.GetExactDuration()) {
|
if (bs.GetExactDuration()) {
|
||||||
|
@ -126,7 +126,7 @@ BSVideoProvider::BSVideoProvider(agi::fs::path const& filename, std::string cons
|
||||||
|
|
||||||
br->Run([&](agi::ProgressSink *ps) {
|
br->Run([&](agi::ProgressSink *ps) {
|
||||||
ps->SetTitle(from_wx(_("Scanning")));
|
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;
|
std::vector<int> TimecodesVector;
|
||||||
for (int n = 0; n < properties.NumFrames; n++) {
|
for (int n = 0; n < properties.NumFrames; n++) {
|
||||||
|
|
Loading…
Reference in New Issue