Pass value by reference.
This commit is contained in:
parent
4865e7696a
commit
11d3ff0cc9
@ -377,7 +377,7 @@ while(0)
|
||||
} \
|
||||
while(0)
|
||||
|
||||
void EncoderRegistry::saveEncoderCustomParams(SettingsModel *settings, const int encoderId, const QString params)
|
||||
void EncoderRegistry::saveEncoderCustomParams(SettingsModel *settings, const int encoderId, const QString ¶ms)
|
||||
{
|
||||
//Store the encoder bitrate/quality value
|
||||
switch(encoderId)
|
||||
|
@ -42,7 +42,7 @@ public:
|
||||
static void saveEncoderValue(SettingsModel *settings, const int encoderId, const int rcMode, const int value);
|
||||
static int loadEncoderValue(const SettingsModel *settings, const int encoderId, const int rcMode);
|
||||
|
||||
static void saveEncoderCustomParams(SettingsModel *settings, const int encoderId, const QString params);
|
||||
static void saveEncoderCustomParams(SettingsModel *settings, const int encoderId, const QString ¶ms);
|
||||
static QString loadEncoderCustomParams(const SettingsModel *settings, const int encoderId);
|
||||
|
||||
static void resetAllEncoders(SettingsModel *settings);
|
||||
|
Loading…
Reference in New Issue
Block a user