mirror of https://github.com/odrling/Aegisub
Reword error messages introduced in r2998 to make it Aegisub's fault and not the graphics drivers'. Even if our code is technically correct, it's still our problem.
Updates #799. Originally committed to SVN as r2999.
This commit is contained in:
parent
60970e5f29
commit
386cc9d3cd
|
@ -438,7 +438,7 @@ void VideoContext::JumpToFrame(int n) {
|
||||||
catch (const wxChar *err) {
|
catch (const wxChar *err) {
|
||||||
wxLogError(
|
wxLogError(
|
||||||
_T("Failed seeking video. The video will be closed because of this.\n")
|
_T("Failed seeking video. The video will be closed because of this.\n")
|
||||||
_T("If you get this error regardless of which video file you use, and also if you use dummy video, your OpenGL driver might not work with Aegisub.\n")
|
_T("If you get this error regardless of which video file you use, and also if you use dummy video, Aegisub might not work with your graphics card's OpenGL driver.\n")
|
||||||
_T("Error message reported: %s"),
|
_T("Error message reported: %s"),
|
||||||
err);
|
err);
|
||||||
Reset();
|
Reset();
|
||||||
|
@ -446,7 +446,7 @@ void VideoContext::JumpToFrame(int n) {
|
||||||
catch (...) {
|
catch (...) {
|
||||||
wxLogError(
|
wxLogError(
|
||||||
_T("Failed seeking video. The video will be closed because of this.\n")
|
_T("Failed seeking video. The video will be closed because of this.\n")
|
||||||
_T("If you get this error regardless of which video file you use, and also if you use dummy video, your OpenGL driver might not work with Aegisub.\n")
|
_T("If you get this error regardless of which video file you use, and also if you use dummy video, Aegisub might not work with your graphics card's OpenGL driver.\n")
|
||||||
_T("No further error message given."));
|
_T("No further error message given."));
|
||||||
Reset();
|
Reset();
|
||||||
}
|
}
|
||||||
|
|
|
@ -313,7 +313,7 @@ try {
|
||||||
catch (const wxChar *err) {
|
catch (const wxChar *err) {
|
||||||
wxLogError(
|
wxLogError(
|
||||||
_T("An error occurred trying to render the video frame to screen.\n")
|
_T("An error occurred trying to render the video frame to screen.\n")
|
||||||
_T("If you get this error regardless of which video file you use, and also if you use dummy video, your OpenGL driver might not work with Aegisub.\n")
|
_T("If you get this error regardless of which video file you use, and also if you use dummy video, Aegisub might not work with your graphics card's OpenGL driver.\n")
|
||||||
_T("Error message reported: %s"),
|
_T("Error message reported: %s"),
|
||||||
err);
|
err);
|
||||||
VideoContext::Get()->Reset();
|
VideoContext::Get()->Reset();
|
||||||
|
@ -321,7 +321,7 @@ catch (const wxChar *err) {
|
||||||
catch (...) {
|
catch (...) {
|
||||||
wxLogError(
|
wxLogError(
|
||||||
_T("An error occurred trying to render the video frame to screen.\n")
|
_T("An error occurred trying to render the video frame to screen.\n")
|
||||||
_T("If you get this error regardless of which video file you use, and also if you use dummy video, your OpenGL driver might not work with Aegisub.\n")
|
_T("If you get this error regardless of which video file you use, and also if you use dummy video, Aegisub might not work with your graphics card's OpenGL driver.\n")
|
||||||
_T("No further error message given."));
|
_T("No further error message given."));
|
||||||
VideoContext::Get()->Reset();
|
VideoContext::Get()->Reset();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue