Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Du <[email protected]>
  • Loading branch information
frankdjx committed Dec 8, 2023
1 parent 57ed9b2 commit 60a8614
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/args.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ int st_app_parse_args(struct st_app_context* ctx, struct mtl_init_params* p, int
break;
case ST_ARG_RX_TIMING_PARSER:
ctx->enable_timing_parser = true;
p->flags |= MTL_FLAG_ENABLE_HW_TIMESTAMP;
break;
case ST_ARG_RX_MONO_POOL:
p->flags |= MTL_FLAG_RX_MONO_POOL;
Expand Down
2 changes: 2 additions & 0 deletions lib/src/st2110/st_rx_timing_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ static void rv_tp_stat_init(struct st_rx_video_tp* tp) {
void rv_tp_stat(struct st_rx_video_session_impl* s) {
int idx = s->idx;
struct st_rx_video_tp* tp = s->tp;
if (!tp) return;

struct st_rv_tp_stat* stat = &tp->stat;
struct st_rv_tp_slot* stat_slot = &stat->slot;

Expand Down

0 comments on commit 60a8614

Please sign in to comment.