Skip to content

Plugins: follow the EBU STL frame rate a plugin sets in the header - #15793

Merged
niksedk merged 1 commit into
mainfrom
claude/plugin-ebu-header-frame-rate
Oct 8, 2026
Merged

niksedk merged 1 commit into
mainfrom
claude/plugin-ebu-header-frame-rate

Conversation

@niksedk

@niksedk niksedk commented Oct 8, 2026

Copy link
Copy Markdown
Member

Follow-up to #15791 (#15185).

Problem

ArteCheck converts an STL30 file to 25 fps and returns the header with disk format code STL25.01. The save already follows the header (the writer reads the frame rate from the DFC), but the toolbar frame rate stayed at 30: the grid showed 30 fps frame numbers for 25 fps time codes, and frame mode snapped later manual edits to 30 fps frames.

Fix

When a structured plugin response changes the EBU STL disk format code, FollowEbuHeaderFrameRate sets the toolbar/current frame rate from it - the same thing opening an STL file does. Skipped when the DFC is unchanged, the rate already matches, or a video is loaded (the video's frame rate still wins, as on file open). ComboBoxFrameRateSelectionChanged's body moved to ApplyCurrentFrameRate so both share it.

Note: undoing the plugin step restores the STL30 header but not the toolbar frame rate (same as other frame-rate changes today).

Tests

StructuredResponse_Stl25Header_FollowsFrameRateUnlessVideo (no video → 25, video loaded → stays 30); fails without the change. Plugin/EBU/frame-rate UI tests: 233 passed.

🤖 Generated with Claude Code

ArteCheck converts an STL30 file to 25 fps and returns an STL25.01 header.
The file was then saved at 25 fps, but the toolbar frame rate stayed at 30, so
the grid showed 30 fps frame numbers and frame mode snapped later edits to
30 fps frames. When a plugin changes the disk format code, the frame rate now
follows it, like opening an STL file does. A loaded video still wins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@niksedk
niksedk merged commit 13d725b into main Oct 8, 2026
1 check passed
@niksedk
niksedk deleted the claude/plugin-ebu-header-frame-rate branch October 8, 2026 04:34
niksedk added a commit that referenced this pull request Oct 8, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
niksedk added a commit that referenced this pull request Oct 8, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant