Skip to content
Permalink
Browse files

[FIX] Fixed X-TIMESTAMP-MAP formatting error (#1126)

* Fixed X-TIMESTAMP-MAP formatting error

* Removed reformatting of whole file

* Removed reformatting of whole file
  • Loading branch information
prs-prabodh authored and cfsmp3 committed Nov 26, 2019
1 parent 45eec1c commit 280b4308f7f7ff769fd9c3fe2b03a7259644bfdb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib_ccx/ccx_encoders_webvtt.c
@@ -214,7 +214,7 @@ int write_webvtt_header(struct encoder_ctx *context)
int used;
unsigned h1, m1, s1, ms1;
millis_to_time(context->timing->sync_pts2fts_fts, &h1, &m1, &s1, &ms1);
sprintf(header_string, "X-TIMESTAMP-MAP=MPEGTS:%ld, LOCAL %02u:%02u:%02u.%03u\r\n\n",
sprintf(header_string, "X-TIMESTAMP-MAP=MPEGTS:%ld,LOCAL:%02u:%02u:%02u.%03u\r\n\n",
context->timing->sync_pts2fts_pts,
h1, m1, s1, ms1);
used = encode_line(context, context->buffer, (unsigned char *)header_string);

0 comments on commit 280b430

Please sign in to comment.
You can’t perform that action at this time.