libobs: Mark encoders that support dynamic bitrate

(This commit also modifies mac-vth264, obs-ffmpeg, obs-qsv11, and
obs-x264)
This commit is contained in:
jp9000
2019-08-15 08:39:37 -07:00
parent 91ce2349db
commit 806ab5a022
6 changed files with 6 additions and 1 deletions

View File

@@ -926,7 +926,7 @@ struct obs_encoder_info nvenc_info = {
.id = "jim_nvenc",
.codec = "h264",
.type = OBS_ENCODER_VIDEO,
.caps = OBS_ENCODER_CAP_PASS_TEXTURE,
.caps = OBS_ENCODER_CAP_PASS_TEXTURE | OBS_ENCODER_CAP_DYN_BITRATE,
.get_name = nvenc_get_name,
.create = nvenc_create,
.destroy = nvenc_destroy,

View File

@@ -570,4 +570,5 @@ struct obs_encoder_info nvenc_encoder_info = {
.get_extra_data = nvenc_extra_data,
.get_sei_data = nvenc_sei_data,
.get_video_info = nvenc_video_info,
.caps = OBS_ENCODER_CAP_DYN_BITRATE,
};