diff options
author | Marton Balint <cus@passwd.hu> | 2020-07-24 16:25:45 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-09-13 17:51:57 +0200 |
commit | babbb5a4ba83fb27ff42f1de746ce93bdf64c54f (patch) | |
tree | 6efeb82d71aacf5cef78547c5b216af5d687665e /fftools/ffprobe.c | |
parent | 837b6eb90edb8b21b3547876bbf74fe6f45147d0 (diff) | |
download | ffmpeg-babbb5a4ba83fb27ff42f1de746ce93bdf64c54f.tar.gz |
fftools/ffprobe: use av_timecode_make_smpte_tc_string2
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'fftools/ffprobe.c')
-rw-r--r-- | fftools/ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index d4e494f11f..86bd23d36d 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -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); |