Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yonatan Shiferaw
vtm partial output
Commits
eb6429bb
Commit
eb6429bb
authored
Feb 19, 2021
by
Tangi Poirier
Committed by
Frank Bossen
Feb 19, 2021
Browse files
Fix #1468: bugfix parcat: remove duplicate prefix sei for IDR
parent
67bfc0cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/App/Parcat/parcat.cpp
View file @
eb6429bb
...
...
@@ -330,7 +330,7 @@ std::vector<uint8_t> filter_segment(const std::vector<uint8_t> & v, int idx, int
idr_found
=
true
;
}
if
((
idx
>
1
&&
(
nalu_type
==
NAL_UNIT_CODED_SLICE_IDR_W_RADL
||
nalu_type
==
NAL_UNIT_CODED_SLICE_IDR_N_LP
))
||
((
idx
>
1
&&
!
idr_found
)
&&
(
nalu_type
==
NAL_UNIT_OPI
||
nalu_type
==
NAL_UNIT_DCI
||
nalu_type
==
NAL_UNIT_VPS
||
nalu_type
==
NAL_UNIT_SPS
||
nalu_type
==
NAL_UNIT_PPS
||
nalu_type
==
NAL_UNIT_PREFIX_APS
||
nalu_type
==
NAL_UNIT_SUFFIX_APS
||
nalu_type
==
NAL_UNIT_PH
||
nalu_type
==
NAL_UNIT_ACCESS_UNIT_DELIMITER
))
||
((
idx
>
1
&&
!
idr_found
)
&&
(
nalu_type
==
NAL_UNIT_OPI
||
nalu_type
==
NAL_UNIT_DCI
||
nalu_type
==
NAL_UNIT_VPS
||
nalu_type
==
NAL_UNIT_SPS
||
nalu_type
==
NAL_UNIT_PPS
||
nalu_type
==
NAL_UNIT_PREFIX_APS
||
nalu_type
==
NAL_UNIT_SUFFIX_APS
||
nalu_type
==
NAL_UNIT_PH
||
nalu_type
==
NAL_UNIT_ACCESS_UNIT_DELIMITER
||
nalu_type
==
NAL_UNIT_PREFIX_SEI
))
||
(
nalu_type
==
NAL_UNIT_SUFFIX_SEI
&&
skip_next_sei
))
{
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment