Ver código fonte

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 2 anos atrás
pai
commit
8137eb5f56
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      plugins/obs-outputs/rtmp-stream.c

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

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