Skip to content

Masaki#3

Open
kedaitinh12 wants to merge 10 commits into
kedaitinh12:masterfrom
Masaiki:main
Open

Masaki#3
kedaitinh12 wants to merge 10 commits into
kedaitinh12:masterfrom
Masaiki:main

Conversation

@kedaitinh12
Copy link
Copy Markdown
Owner

No description provided.

computerfan and others added 8 commits June 26, 2022 22:43
Previously, texture yoffset is affected by the bottom edge of a rectangular clip, which can cause unexpected textures when using rect clip tag, especially iclips, with $img tag.
This commit implements the standard CSRI_EXT_STREAM_ASS extension in VSFilterMod, allowing callers (like xy-VSFilter) to feed subtitle packets dynamically instead of loading the entire file upfront.

Key changes:
- Included standard `csri/stream.h` and exposed the stream extension via `csri_query_ext`.
- Implemented `vsfilter_init_stream`, `vsfilter_push_packet`, and `vsfilter_discard` to support standard streaming operations.
- Added `m_sver` (script version) to `CSimpleTextSubtitle` and persisted it during header parsing (in `STS.cpp`).
- Fixed fragile ASS/ASS2 format detection in `push_packet`: Instead of naively counting commas per packet (which broke on ASS tags like `\pos(x,y)`), it now reliably checks `m_sver >= 6` from the parsed header to determine if 9 or 10 fields are expected.
- Replaced the non-existent `RemoveAllEntries()` with `RemoveAll()` and `CreateSegments()` in the stream discard logic to properly clear the render queue.
@Masaiki Masaiki force-pushed the main branch 3 times, most recently from 2f96a4b to ce77407 Compare May 4, 2026 17:52
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.

3 participants