Skip to content

Commit

Permalink
Dump PID idx in inspect mode for sources with same PID ID
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Jul 10, 2024
1 parent 230bf37 commit 2ea39f5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/filters/inspect.c
Original file line number Diff line number Diff line change
Expand Up @@ -3916,7 +3916,12 @@ static void inspect_dump_pid_as_info(GF_InspectCtx *ctx, FILE *dump, GF_FilterPi
inspect_printf(dump, "PID");
p = gf_filter_pid_get_property(pid, GF_PROP_PID_ID);
if (!p) p = gf_filter_pid_get_property(pid, GF_PROP_PID_ESID);
if (p) inspect_printf(dump, " %d", p->value.uint);
if (p) {
if (!gf_sys_is_test_mode())
inspect_printf(dump, " %u ID %d", pid_idx, p->value.uint);
else
inspect_printf(dump, " %d", p->value.uint);
}

if (is_remove) {
inspect_printf(dump, " removed\n");
Expand Down

0 comments on commit 2ea39f5

Please sign in to comment.