[h265d]: avoid drop I slice after IDR slice

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@700 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2016-05-08 16:50:29 +00:00
parent 6a6bba0f3a
commit 3e75a1fe6d

View File

@@ -1331,7 +1331,7 @@ static RK_S32 parser_nal_unit(HEVCContext *s, const RK_U8 *nal, int length)
s->poc <= s->max_ra) { s->poc <= s->max_ra) {
s->is_decoded = 0; s->is_decoded = 0;
break; break;
} else if (s->poc < s->max_ra) { //when seek to I slice skip the stream small then I slic poc } else if ((s->poc < s->max_ra) && !IS_IRAP(s)) { //when seek to I slice skip the stream small then I slic poc
s->is_decoded = 0; s->is_decoded = 0;
break; break;
} else { } else {