Skip to content

Commit

Permalink
fftools/ffprobe: use av_timecode_make_smpte_tc_string2
Browse files Browse the repository at this point in the history
Signed-off-by: Marton Balint <[email protected]>
  • Loading branch information
cus committed Sep 13, 2020
1 parent 837b6eb commit babbb5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fftools/ffprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -2225,7 +2225,7 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream,
writer_print_section_header(w, SECTION_ID_FRAME_SIDE_DATA_TIMECODE_LIST);
for (int j = 1; j <= m ; j++) {
char tcbuf[AV_TIMECODE_STR_SIZE];
av_timecode_make_smpte_tc_string(tcbuf, tc[j], 0);
av_timecode_make_smpte_tc_string2(tcbuf, stream->avg_frame_rate, tc[j], 0, 0);
writer_print_section_header(w, SECTION_ID_FRAME_SIDE_DATA_TIMECODE);
print_str("value", tcbuf);
writer_print_section_footer(w);
Expand Down

0 comments on commit babbb5a

Please sign in to comment.