forked from mia/Aegisub
Make the capitalization of FFmpegSource in options consistent, as option names are now case-sensitive.
Originally committed to SVN as r4414.
This commit is contained in:
parent
2d1bea39cf
commit
90893f1048
3 changed files with 4 additions and 4 deletions
|
@ -199,7 +199,7 @@ void FFmpegSourceProvider::SetLogLevel() {
|
||||||
|
|
||||||
|
|
||||||
FFMS_IndexErrorHandling FFmpegSourceProvider::GetErrorHandlingMode() {
|
FFMS_IndexErrorHandling FFmpegSourceProvider::GetErrorHandlingMode() {
|
||||||
wxString Mode = lagi_wxString(OPT_GET("Provider/Audio/FFMpegSource/Decode Error Handling")->GetString());
|
wxString Mode = lagi_wxString(OPT_GET("Provider/Audio/FFmpegSource/Decode Error Handling")->GetString());
|
||||||
|
|
||||||
if (!Mode.CmpNoCase(_T("ignore")))
|
if (!Mode.CmpNoCase(_T("ignore")))
|
||||||
return FFMS_IEH_IGNORE;
|
return FFMS_IEH_IGNORE;
|
||||||
|
|
|
@ -202,7 +202,7 @@
|
||||||
"AVS" : {
|
"AVS" : {
|
||||||
"Sample Rate" : 0
|
"Sample Rate" : 0
|
||||||
},
|
},
|
||||||
"FFMpegSource" : {
|
"FFmpegSource" : {
|
||||||
"Decode Error Handling" : "stop"
|
"Decode Error Handling" : "stop"
|
||||||
},
|
},
|
||||||
"PCM" : {
|
"PCM" : {
|
||||||
|
@ -225,7 +225,7 @@
|
||||||
"Cache" : {
|
"Cache" : {
|
||||||
"Size" : 32
|
"Size" : 32
|
||||||
},
|
},
|
||||||
"FFMpegSource" : {
|
"FFmpegSource" : {
|
||||||
"Decoding Threads" : 1,
|
"Decoding Threads" : 1,
|
||||||
"Unsafe Seeking" : false
|
"Unsafe Seeking" : false
|
||||||
}
|
}
|
||||||
|
|
|
@ -209,7 +209,7 @@ void FFmpegSourceVideoProvider::LoadVideo(wxString filename) {
|
||||||
// set seekmode
|
// set seekmode
|
||||||
// TODO: give this its own option?
|
// TODO: give this its own option?
|
||||||
int SeekMode;
|
int SeekMode;
|
||||||
if (OPT_GET("Provider/Video/FFMpegSource/Unsafe Seeking")->GetBool())
|
if (OPT_GET("Provider/Video/FFmpegSource/Unsafe Seeking")->GetBool())
|
||||||
SeekMode = FFMS_SEEK_UNSAFE;
|
SeekMode = FFMS_SEEK_UNSAFE;
|
||||||
else
|
else
|
||||||
SeekMode = FFMS_SEEK_NORMAL;
|
SeekMode = FFMS_SEEK_NORMAL;
|
||||||
|
|
Loading…
Reference in a new issue