Browse Source

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.
nquah 1 year ago
parent
commit
14db1489e0
1 changed files with 3 additions and 2 deletions
  1. 3 2
      plugins/obs-outputs/rtmp-stream.c

+ 3 - 2
plugins/obs-outputs/rtmp-stream.c

@@ -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);