Unified · Split
| @@ -713,6 +713,11 @@ static void process_cc608(CCaptionSubContext *ctx, int64_t pts, uint8_t hi, uint · 712 unmodified lines | ||
| 713 | 713 | /* Standard characters (always in pairs) */ |
| 714 | 714 | handle_char(ctx, hi, lo, pts); |
| 715 | 715 | ctx->prev_cmd[0] = ctx->prev_cmd[1] = 0; |
| 716 | + } else if (hi == 0x17 && lo >= 0x21 && lo <= 0x23) { | |
| 717 | + /* Tab offsets (spacing) */ | |
| 718 | + for (int i = 0; i < lo - 0x20; i++) { | |
| 719 | + handle_char(ctx, ' ', 0, pts); | |
| 720 | + } | |
| 716 | 721 | } else { |
| 717 | 722 | /* Ignoring all other non data code */ |
| 718 | 723 | ff_dlog(ctx, "Unknown command 0x%hhx 0x%hhx\n", hi, lo); |