File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -320,10 +320,6 @@ compute_gop_hash(signed_video_t *self, bu_list_item_t *sei)
320
320
item = item -> next ;
321
321
}
322
322
assert (item ); // Should have stopped latest at |sei|.
323
- if (!gop_info -> triggered_partial_gop && !item -> bu -> is_first_bu_in_gop ) {
324
- DEBUG_LOG ("Lost an I-frame" );
325
- self -> validation_flags .lost_start_of_gop = true;
326
- }
327
323
SV_THROW (sv_openssl_finalize_hash (self -> crypto_handle , gop_info -> computed_gop_hash , true));
328
324
// Store number of BUs used in |computed_gop_hash|.
329
325
self -> tmp_num_in_partial_gop = num_in_partial_gop ;
@@ -1211,7 +1207,6 @@ maybe_validate_gop(signed_video_t *self, bu_info_t *bu)
1211
1207
latest -> number_of_pending_picture_nalus = -1 ;
1212
1208
latest -> public_key_has_changed = public_key_has_changed ;
1213
1209
validation_flags -> num_invalid = 0 ;
1214
- validation_flags -> lost_start_of_gop = false;
1215
1210
// Reset |in_validation|.
1216
1211
update_sei_in_validation (self , true, NULL , NULL );
1217
1212
}
Original file line number Diff line number Diff line change @@ -213,8 +213,6 @@ typedef struct {
213
213
int num_lost_seis ; // Indicates how many SEIs has been lost since last the session got
214
214
// the latest SEI. Note that this value can become negative if SEIs have changed order.
215
215
int num_invalid ; // Tracks invalid GOPs across multiple GOP validation.
216
- bool lost_start_of_gop ; // Tracks if an I-frame has been lost, which needs to be
217
- // handled as a special case if it happens for the first validation.
218
216
} validation_flags_t ;
219
217
220
218
// Buffer of |last_two_bytes| and pointers to |sei| memory and current |write_position|.
You can’t perform that action at this time.
0 commit comments