Fix a perf issue where we didn't pass the device id correctly to rocDecCreateDecoder API (#91)

[ROCm/rocdecode commit: 72bfa50c21]
이 커밋은 다음에 포함됨:
Aryan Salmanpour 작성하고 GitHub가 2023-11-28 11:26:34 -05:00를 커밋함
1 부모 3067e0206a
커밋 ff9432f879
1 파일이 변경됨
+1
+1
파일 보기
@@ -309,6 +309,7 @@ int RocVideoDecoder::HandleVideoSequence(RocdecVideoFormat *p_video_format) {
video_format_ = *p_video_format;
RocDecoderCreateInfo videoDecodeCreateInfo = { 0 };
videoDecodeCreateInfo.deviceid = device_id_;
videoDecodeCreateInfo.CodecType = p_video_format->codec;
videoDecodeCreateInfo.ChromaFormat = p_video_format->chroma_format;
videoDecodeCreateInfo.OutputFormat = video_surface_format_;