diff --git a/src/audio_provider_bestsource.cpp b/src/audio_provider_bestsource.cpp index aa1bd1904..d95eb949e 100644 --- a/src/audio_provider_bestsource.cpp +++ b/src/audio_provider_bestsource.cpp @@ -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()) { diff --git a/src/command/video.cpp b/src/command/video.cpp index fde138f28..f7964192c 100644 --- a/src/command/video.cpp +++ b/src/command/video.cpp @@ -659,8 +659,8 @@ struct video_opt_autoscroll final : public Command { struct video_pan_reset final : public validator_video_loaded { CMD_NAME("video/pan_reset") - STR_MENU("Reset video pan") - STR_DISP("Reset video pan") + STR_MENU("Reset Video Pan") + STR_DISP("Reset Video Pan") STR_HELP("Reset the video pan to the original value") void operator()(agi::Context *c) override { diff --git a/src/video_provider_bestsource.cpp b/src/video_provider_bestsource.cpp index 3853d2d73..2d7c6c952 100644 --- a/src/video_provider_bestsource.cpp +++ b/src/video_provider_bestsource.cpp @@ -43,6 +43,7 @@ namespace agi { class BackgroundRunner; } #include #include #include +#include namespace { @@ -114,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()) { @@ -125,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 TimecodesVector; for (int n = 0; n < properties.NumFrames; n++) { @@ -159,7 +160,7 @@ BSVideoProvider::BSVideoProvider(agi::fs::path const& filename, std::string cons colorspace = colormatrix_description(frame->GetAVFrame()); } catch (VideoException const& err) { - throw VideoOpenError("Failed to create BestVideoSource"); + throw VideoOpenError(agi::format("Failed to create BestVideoSource: %s", + err.what())); } void BSVideoProvider::GetFrame(int n, VideoFrame &out) {