Skip to content

Commit

Permalink
dump media segment
Browse files Browse the repository at this point in the history
  • Loading branch information
igorshevach committed Jun 27, 2024
1 parent 8de6a4b commit ef40102
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nginx-live-module/src/ngx_live_segmenter.c
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,14 @@ ngx_live_segmenter_frame_list_copy(ngx_live_segmenter_frame_list_t *list,
}

prev_dest->duration = duration;

#if (NGX_DEBUG)
ngx_log_error(NGX_LOG_INFO, &track->log, 0,
"ngx_live_segmenter_frame_list_copy: "
"frame duration %L (1), "
"dts: %L, flags: 0x%uxD, prev_dts: %L",
duration, src->dts, src->flags, prev_src->dts);
#endif
}

dest = ngx_list_push(&segment->frames);
Expand Down

0 comments on commit ef40102

Please sign in to comment.