Skip to content

Commit

Permalink
fixed #2475
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed May 22, 2023
1 parent ba59206 commit c88df2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/filter_core/filter_session.c
Expand Up @@ -4145,6 +4145,9 @@ GF_Err gf_filter_get_stats(GF_Filter *f, GF_FilterStats *stats)
if ((f->num_input_pids!=1) && f->num_output_pids)
continue;

if (!pidi->pid)
continue;

if (!stats->codecid)
stats->codecid = pidi->pid->codecid;
if (!stats->stream_type)
Expand Down

0 comments on commit c88df2e

Please sign in to comment.