Potentially fix avcodec
BIG F to Sunshine
This commit is contained in:
@@ -52,11 +52,15 @@ namespace audio {
|
||||
int channels;
|
||||
int mask;
|
||||
|
||||
bool input_only;
|
||||
|
||||
stream_params_t customStreamParams;
|
||||
|
||||
std::bitset<MAX_FLAGS> flags;
|
||||
|
||||
// Who TF knows what Sunshine did
|
||||
// putting input_only at the end of flags will always be over written to true
|
||||
uint64_t __padding;
|
||||
|
||||
bool input_only;
|
||||
};
|
||||
|
||||
struct audio_ctx_t {
|
||||
|
||||
@@ -21,10 +21,12 @@ namespace video {
|
||||
|
||||
/* Encoding configuration requested by remote client */
|
||||
struct config_t {
|
||||
// DO NOT CHANGE ORDER OR ADD FIELDS IN THE MIDDLE!!!!!
|
||||
// ONLY APPEND NEW FIELD AFTERWARDS!!!!!!!!!
|
||||
// BIG F WORD to Sunshine!!!!!!!!!
|
||||
int width; // Video width in pixels
|
||||
int height; // Video height in pixels
|
||||
int framerate; // Requested framerate, used in individual frame bitrate budget calculation
|
||||
int encodingFramerate; // Requested display framerate
|
||||
int bitrate; // Video bitrate in kilobits (1000 bits) for requested framerate
|
||||
int slicesPerFrame; // Number of slices per frame
|
||||
int numRefFrames; // Max number of reference frames
|
||||
@@ -44,6 +46,7 @@ namespace video {
|
||||
|
||||
int enableIntraRefresh; // 0 - disabled, 1 - enabled
|
||||
|
||||
int encodingFramerate; // Requested display framerate
|
||||
bool input_only;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user