obs-outputs: Enable HDR for HEVC over RTMP

Removes flag guard to enable HDR streaming for HEVC over enhanced-RTMP.
This functionality is currently only supported by YouTube. See
github.com/veovera/enhanced-rtmp for the enhanced-RTMP spec.
This commit is contained in:
nquah 2023-12-21 13:45:59 -05:00 committed by Ryan Foster
parent f1f5b34d7b
commit 14db1489e0

View file

@ -1369,8 +1369,9 @@ static void *connect_thread(void *data)
return NULL;
}
// HDR streaming disabled for AV1 and HEVC
if (stream->video_codec != CODEC_H264) {
// HDR streaming disabled for AV1
if (stream->video_codec != CODEC_H264 &&
stream->video_codec != CODEC_HEVC) {
video_t *video = obs_get_video();
const struct video_output_info *info =
video_output_get_info(video);