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 Jan 3, 2024
1 parent f1f5b34 commit 14db148
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 @@ -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);
Expand Down

0 comments on commit 14db148

Please sign in to comment.