Add additional debug info if we couldn't find the matching pic in reference list and return error (#69)
* Add additional debug info if we couldn't find the matching pic in refrence list and return error * Correct the debug info message
Este cometimento está contido em:
cometido por
GitHub
ascendente
28c86ba813
cometimento
5d5db9a017
@@ -446,7 +446,8 @@ int HEVCVideoParser::SendPicForDecode() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (j == 15) {
|
if (j == 15) {
|
||||||
ERR("Could not find matching pic in ref_frames list.");
|
ERR("Could not find matching pic in ref_frames list. The slice type is P/B, and the idx from the ref_pic_list_0_ is: " + TOSTR(idx));
|
||||||
|
return PARSER_FAIL;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
slice_params_ptr->RefPicList[0][i] = j;
|
slice_params_ptr->RefPicList[0][i] = j;
|
||||||
@@ -462,7 +463,8 @@ int HEVCVideoParser::SendPicForDecode() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (j == 15) {
|
if (j == 15) {
|
||||||
ERR("Could not find matching pic in ref_frames list.");
|
ERR("Could not find matching pic in ref_frames list. The slice type is B, and the idx from the ref_pic_list_1_ is: " + TOSTR(idx));
|
||||||
|
return PARSER_FAIL;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
slice_params_ptr->RefPicList[1][i] = j;
|
slice_params_ptr->RefPicList[1][i] = j;
|
||||||
|
|||||||
Criar uma nova questão referindo esta
Bloquear um utilizador