blob: a6c259ab6ad7fcd3520dcd25ece7612691083038 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include "encoder/encodersettings.h"
#include "encoder/encoder.h"
#include "preferences/broadcastsettings.h"
/// Storage of broadcast settings for the encoders.
class EncoderBroadcastSettings : public EncoderSettings {
public:
explicit EncoderBroadcastSettings(BroadcastProfilePtr profile);
~EncoderBroadcastSettings() override = default;
// Returns the list of quality values that it supports, to assign them to the slider
QList<int> getQualityValues() const override;
// Returns the current quality value
int getQuality() const override;
int getQualityIndex() const override;
ChannelMode getChannelMode() const override;
QString getFormat() const override;
private:
QList<int> m_qualList;
BroadcastProfilePtr m_pProfile;
};
|