mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-24 11:53:25 +00:00
Fix PTS and Length in preview section (Teletext subtitles)
This commit is contained in:
parent
4d6ae27518
commit
a842e1f7db
@ -1492,6 +1492,9 @@ int tlt_process_pes_packet(struct lib_cc_decode *dec_ctx, uint8_t *buffer, uint1
|
||||
pts |= ((buffer[13] & 0xfe) >> 1);
|
||||
t = (uint32_t) (pts / 90);
|
||||
|
||||
set_current_pts(dec_ctx->timing, pts);
|
||||
set_fts(dec_ctx->timing);
|
||||
|
||||
if (ccx_options.pes_header_to_stdout)
|
||||
{
|
||||
//printf("# Associated PTS: %d \n", pts);
|
||||
|
Loading…
Reference in New Issue
Block a user