mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 15:49:51 +08:00
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:
committed by
Ryan Foster
parent
14f25811d1
commit
edbe74b2b5
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user