- Timestamp:
- Jan 10, 2017 12:46:03 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/VideoRec.cpp
r65221 r65224 671 671 pos = options.parseKeyValue(key, value, pos); 672 672 673 if (key.compare("vc_quality", Utf8Str::CaseInsensitive) )674 { 675 if (value.compare("realtime", Utf8Str::CaseInsensitive) )673 if (key.compare("vc_quality", Utf8Str::CaseInsensitive) == 0) 674 { 675 if (value.compare("realtime", Utf8Str::CaseInsensitive) == 0) 676 676 { 677 677 pStream->uEncoderDeadline = VPX_DL_REALTIME; 678 678 } 679 else if (value.compare("good", Utf8Str::CaseInsensitive) )679 else if (value.compare("good", Utf8Str::CaseInsensitive) == 0) 680 680 { 681 681 pStream->uEncoderDeadline = 1000000 / uFps; 682 682 } 683 else if (value.compare("best", Utf8Str::CaseInsensitive) )683 else if (value.compare("best", Utf8Str::CaseInsensitive) == 0) 684 684 { 685 685 pStream->uEncoderDeadline = VPX_DL_BEST_QUALITY; … … 691 691 } 692 692 } 693 if (key.compare("vc_enabled", Utf8Str::CaseInsensitive) )693 if (key.compare("vc_enabled", Utf8Str::CaseInsensitive) == 0) 694 694 { 695 695 #ifdef VBOX_WITH_AUDIO_VIDEOREC 696 if (value.compare("false", Utf8Str::CaseInsensitive) ) /* Disable audio. */696 if (value.compare("false", Utf8Str::CaseInsensitive) == 0) /* Disable audio. */ 697 697 { 698 698 enmMode = WebMWriter::Mode_Audio; … … 701 701 #endif 702 702 } 703 if (key.compare("ac_enabled", Utf8Str::CaseInsensitive) )703 if (key.compare("ac_enabled", Utf8Str::CaseInsensitive) == 0) 704 704 { 705 705 #ifdef VBOX_WITH_AUDIO_VIDEOREC
Note:
See TracChangeset
for help on using the changeset viewer.