diff options
author | Marton Balint <cus@passwd.hu> | 2020-07-24 16:26:04 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-09-13 17:51:57 +0200 |
commit | 5673802511e68d2b7ba2c8840e3efcc44aaf9f10 (patch) | |
tree | 8f0ae5d9629dd37d8159d1c31b253fd3ee57a26d /libavcodec/h264_slice.c | |
parent | babbb5a4ba83fb27ff42f1de746ce93bdf64c54f (diff) | |
download | ffmpeg-5673802511e68d2b7ba2c8840e3efcc44aaf9f10.tar.gz |
avcodec: use av_timecode_make_smpte_tc_string2 in hevc and h264 decoder
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index c7b2764270..cfc29e186c 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -1325,7 +1325,7 @@ static int h264_export_frame_props(H264Context *h) int ff = h->sei.picture_timing.timecode[i].frame; tc_sd[i + 1] = av_timecode_get_smpte(h->avctx->framerate, drop, hh, mm, ss, ff); - av_timecode_make_smpte_tc_string(tcbuf, tc_sd[i + 1], 0); + av_timecode_make_smpte_tc_string2(tcbuf, h->avctx->framerate, tc_sd[i + 1], 0, 0); av_dict_set(&out->metadata, "timecode", tcbuf, 0); } h->sei.picture_timing.timecode_cnt = 0; |