obs-ffmpeg: Fix USAGE typo
Replace TRANSCONDING with TRANSCODING, because it is likely that the typo compatibility will be removed in a future AMF header update. This should also minimize confusion and improve search.master
parent
29574b7fd2
commit
f5fe4d0acf
|
@ -1176,7 +1176,7 @@ static void amf_avc_create_internal(amf_base *enc, obs_data_t *settings)
|
|||
}
|
||||
|
||||
set_avc_property(enc, FRAMESIZE, AMFConstructSize(enc->cx, enc->cy));
|
||||
set_avc_property(enc, USAGE, AMF_VIDEO_ENCODER_USAGE_TRANSCONDING);
|
||||
set_avc_property(enc, USAGE, AMF_VIDEO_ENCODER_USAGE_TRANSCODING);
|
||||
set_avc_property(enc, QUALITY_PRESET, get_avc_preset(enc, settings));
|
||||
set_avc_property(enc, PROFILE, get_avc_profile(settings));
|
||||
set_avc_property(enc, LOWLATENCY_MODE, false);
|
||||
|
@ -1468,7 +1468,7 @@ static void amf_hevc_create_internal(amf_base *enc, obs_data_t *settings)
|
|||
const bool is_hdr = pq || hlg;
|
||||
|
||||
set_hevc_property(enc, FRAMESIZE, AMFConstructSize(enc->cx, enc->cy));
|
||||
set_hevc_property(enc, USAGE, AMF_VIDEO_ENCODER_USAGE_TRANSCONDING);
|
||||
set_hevc_property(enc, USAGE, AMF_VIDEO_ENCODER_USAGE_TRANSCODING);
|
||||
set_hevc_property(enc, QUALITY_PRESET, get_hevc_preset(enc, settings));
|
||||
set_hevc_property(enc, COLOR_BIT_DEPTH,
|
||||
is10bit ? AMF_COLOR_BIT_DEPTH_10
|
||||
|
|
Loading…
Reference in New Issue