Fix a bug for the video sequence callback function (#31)
[ROCm/rocdecode commit: 874bd59d89]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
691521af5a
Коммит
a227d5fbcf
@@ -44,7 +44,7 @@ rocDecStatus RocVideoParser::Initialize(RocdecParserParams *pParams) {
|
||||
pfn_display_picture_cb_ = pParams->pfnDisplayPicture; /**< Called whenever a picture is ready to be displayed (display order) */
|
||||
pfn_get_sei_message_cb_ = pParams->pfnGetSEIMsg; /**< Called when all SEI messages are parsed for particular frame */
|
||||
|
||||
parser_params_ = pParams;
|
||||
parser_params_ = *pParams;
|
||||
|
||||
return ROCDEC_SUCCESS;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user