File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -641,15 +641,15 @@ verify_hashes_without_sei(signed_video_t *self, int num_skips)
641
641
bu_list_item_t * item = bu_list -> first_item ;
642
642
while (item ) {
643
643
// Skip non-pending items
644
- if (item -> tmp_validation_status != 'P' ) {
644
+ if (item -> tmp_validation_status != 'P' || item -> associated_sei ) {
645
645
item = item -> next ;
646
646
continue ;
647
647
}
648
648
649
649
bu_info_t * bu_info = item -> bu ;
650
650
// Only (added) items marked as 'missing' ('M') have no |bu_info|.
651
651
assert (bu_info );
652
- if (bu_info -> is_sv_sei ) {
652
+ if (bu_info -> is_sv_sei && bu_info -> is_signed ) {
653
653
// Skip counting signed SEIs since they are verified by its signature.
654
654
item = item -> next ;
655
655
continue ;
@@ -685,13 +685,13 @@ verify_hashes_without_sei(signed_video_t *self, int num_skips)
685
685
item = bu_list -> first_item ;
686
686
while (item && (num_marked_items < max_marked_items )) {
687
687
// Skip non-pending items and items already associated with a SEI.
688
- if (item -> tmp_validation_status != 'P' ) {
688
+ if (item -> tmp_validation_status != 'P' || item -> associated_sei ) {
689
689
item = item -> next ;
690
690
continue ;
691
691
}
692
692
693
693
bu_info_t * bu_info = item -> bu ;
694
- if (bu_info -> is_sv_sei ) {
694
+ if (bu_info -> is_sv_sei && bu_info -> is_signed ) {
695
695
// Skip marking signed SEIs since they are verified by its signature.
696
696
item = item -> next ;
697
697
continue ;
Original file line number Diff line number Diff line change @@ -3038,8 +3038,6 @@ END_TEST
3038
3038
3039
3039
START_TEST (modify_one_i_frame_multiple_gops )
3040
3040
{
3041
- // Enable when validation can be made without dead lock.
3042
- return ;
3043
3041
// Device side
3044
3042
struct sv_setting setting = settings [_i ];
3045
3043
const unsigned signing_frequency = 3 ;
@@ -3075,8 +3073,6 @@ END_TEST
3075
3073
3076
3074
START_TEST (remove_one_i_frame_multiple_gops )
3077
3075
{
3078
- // Enable when validation can be made without dead lock.
3079
- return ;
3080
3076
// Device side
3081
3077
struct sv_setting setting = settings [_i ];
3082
3078
const unsigned signing_frequency = 3 ;
@@ -3116,8 +3112,6 @@ END_TEST
3116
3112
3117
3113
START_TEST (modify_sei_frames_multiple_gops )
3118
3114
{
3119
- // Enable when validation can be made without dead lock.
3120
- return ;
3121
3115
// Device side
3122
3116
struct sv_setting setting = settings [_i ];
3123
3117
const unsigned signing_frequency = 3 ;
@@ -3166,8 +3160,6 @@ END_TEST
3166
3160
3167
3161
START_TEST (remove_sei_frames_multiple_gops )
3168
3162
{
3169
- // Enable when validation can be made without dead lock.
3170
- return ;
3171
3163
// Device side
3172
3164
struct sv_setting setting = settings [_i ];
3173
3165
const unsigned signing_frequency = 3 ;
You can’t perform that action at this time.
0 commit comments