mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-07 10:00:55 +08:00
[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:
@@ -1331,7 +1331,7 @@ static RK_S32 parser_nal_unit(HEVCContext *s, const RK_U8 *nal, int length)
|
||||
s->poc <= s->max_ra) {
|
||||
s->is_decoded = 0;
|
||||
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;
|
||||
break;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user