Skip to content

Remove unused TextSubtitle and ASSSubtitle declarations - #2457

Merged
WyattBlue merged 1 commit into
masterfrom
remove-stale-subtitle-decls
Oct 21, 2026
Merged

WyattBlue merged 1 commit into
masterfrom
remove-stale-subtitle-decls

Conversation

@WyattBlue

@WyattBlue WyattBlue commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Fixes #2456.

av/subtitles/subtitle.pxd declared TextSubtitle and ASSSubtitle, neither of which is used anywhere. The real class is AssSubtitle in subtitle.py; it needs no .pxd entry because it has no C-level attributes and is never cimported. It remains a final cclass subclass of Subtitle.

Neither was referenced anywhere; the real class is `AssSubtitle`, which
needs no .pxd entry since it has no C attributes and is never cimported.

Fixes #2456
@WyattBlue
WyattBlue merged commit caa9682 into master Oct 21, 2026
8 of 9 checks passed
@WyattBlue
WyattBlue deleted the remove-stale-subtitle-decls branch October 21, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cdef ASSSubtitle should be named cdef AssSubtitle in subtitles/subtitle.pxd, and cdef TextSubtitle is unused

1 participant