Skip to content

Commit

Permalink
obs-outputs: Enable HDR for HEVC over RTMP
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nquah authored and RytoEX committed Jul 18, 2023
1 parent fc2f6e7 commit 8137eb5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/obs-outputs/rtmp-stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -1342,8 +1342,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);
Expand Down

1 comment on commit 8137eb5

@ismailtilki

This comment was marked as off-topic.

Please sign in to comment.