Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
enc-amf: Fix Max LTR Frames slider in advanced interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Fabian Dirks committed Aug 26, 2016
1 parent 499e469 commit 9d69399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enc-amf/Source/enc-h264.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ obs_properties_t* Plugin::Interface::H264Interface::get_properties(void* data) {
obs_property_list_add_int(list, obs_module_text(AMF_VCE_H264_PROFILE_LEVEL2(10)), VCEProfileLevel_10);
}
/// Maximum Long-Term-Reference Frames
obs_properties_add_int_slider(props, AMF_VCE_H264_MAX_LTR_FRAMES, obs_module_text(AMF_VCE_H264_MAX_LTR_FRAMES), -1, VCECapabilities::GetInstance()->GetEncoderCaps(VCEEncoderType_AVC)->maxReferenceFrames, 1);
obs_properties_add_int_slider(props, AMF_VCE_H264_MAX_LTR_FRAMES, obs_module_text(AMF_VCE_H264_MAX_LTR_FRAMES), -1, 2, 1);

//////////////////////////////////////////////////////////////////////////
// Encoder Rate Control
Expand Down

0 comments on commit 9d69399

Please sign in to comment.