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() {
|
||||
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")))
|
||||
return FFMS_IEH_IGNORE;
|
||||
|
|
|
@ -202,7 +202,7 @@
|
|||
"AVS" : {
|
||||
"Sample Rate" : 0
|
||||
},
|
||||
"FFMpegSource" : {
|
||||
"FFmpegSource" : {
|
||||
"Decode Error Handling" : "stop"
|
||||
},
|
||||
"PCM" : {
|
||||
|
@ -225,7 +225,7 @@
|
|||
"Cache" : {
|
||||
"Size" : 32
|
||||
},
|
||||
"FFMpegSource" : {
|
||||
"FFmpegSource" : {
|
||||
"Decoding Threads" : 1,
|
||||
"Unsafe Seeking" : false
|
||||
}
|
||||
|
|
|
@ -209,7 +209,7 @@ void FFmpegSourceVideoProvider::LoadVideo(wxString filename) {
|
|||
// set seekmode
|
||||
// TODO: give this its own option?
|
||||
int SeekMode;
|
||||
if (OPT_GET("Provider/Video/FFMpegSource/Unsafe Seeking")->GetBool())
|
||||
if (OPT_GET("Provider/Video/FFmpegSource/Unsafe Seeking")->GetBool())
|
||||
SeekMode = FFMS_SEEK_UNSAFE;
|
||||
else
|
||||
SeekMode = FFMS_SEEK_NORMAL;
|
||||
|
|
Loading…
Reference in a new issue