libobs: Add multitrack dynamic bitrate capability

The `OBS_ENCODER_CAP_DYN_BITRATE` flag indicates if an encoder is
capable of supporting dynamic bitrate changes without disturbing
the stream. In the case of multitrack video, dynamic bitrate changes
are also possible, however the encoder must be able to change bitrates
for multiple renditions and multiple codecs and maintain IDR alignment.
Add the `OBS_ENCODER_CAP_MULTITRACK_DYN_BITRATE` to specify this
capability for the encoder.
This commit is contained in:
Alex Luccisano
2025-11-03 10:46:23 -05:00
committed by Ryan Foster
parent 14f25811d1
commit edbe74b2b5
+1
View File
@@ -38,6 +38,7 @@ typedef struct obs_encoder obs_encoder_t;
#define OBS_ENCODER_CAP_INTERNAL (1 << 3)
#define OBS_ENCODER_CAP_ROI (1 << 4)
#define OBS_ENCODER_CAP_SCALING (1 << 5)
#define OBS_ENCODER_CAP_MULTITRACK_DYN_BITRATE (1 << 6)
/** Specifies the encoder type */
enum obs_encoder_type {