diff --git a/docs/CHANGES.TXT b/docs/CHANGES.TXT index 5e37a791..4a4835c4 100644 --- a/docs/CHANGES.TXT +++ b/docs/CHANGES.TXT @@ -52,6 +52,7 @@ - Extract multiple teletext pages simultaneously with separate output files - Use --tpage multiple times (e.g., --tpage 100 --tpage 200) - Output files are named with page suffix (e.g., output_p100.srt, output_p200.srt) +- Fix: SPUPNG subtitle offset calculation to center based on actual image dimensions - New: Added --list-tracks (-L) option to list all tracks in media files without processing New: Chinese, Korean, Japanese support - proper encoding and OCR. diff --git a/src/_deps/corrosion-src b/src/_deps/corrosion-src deleted file mode 160000 index b1fab721..00000000 --- a/src/_deps/corrosion-src +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b1fab721655c5c4b1b08a083d3cd29f163af75d0 diff --git a/src/lib_ccx/ccx_encoders_spupng.c b/src/lib_ccx/ccx_encoders_spupng.c index 2619969c..9306f534 100644 --- a/src/lib_ccx/ccx_encoders_spupng.c +++ b/src/lib_ccx/ccx_encoders_spupng.c @@ -1103,11 +1103,7 @@ static void calculate_spupng_offsets(struct spupng_t *sp, struct encoder_ctx *ct int screen_h; /* Teletext is always PAL */ - if (ctx->in_fileformat == 2) - { - screen_h = 576; - } - else if (ctx->is_pal) + if (ctx->in_fileformat == 2 || ctx->is_pal) { screen_h = 576; }