VideoTools/internal
Stu Leak 9c801e4910 fix(player): ensure GStreamer produces and displays frames properly
Critical fixes for GStreamer playback:

1. Add preroll waiting in GStreamer.Load():
   - Wait for ASYNC_DONE message after setting to PAUSED
   - Ensures first frame is ready before playback
   - Prevents black screen on load

2. Fix frameDisplayLoop to always pull frames:
   - Remove paused check that blocked frame extraction
   - Frames now pulled even when paused (enables scrubbing)
   - Only update progress bar when playing

3. Add comprehensive logging:
   - Log each frame update with size and timestamp
   - Debug frame pull errors
   - Track paused state during updates

4. Fix initial paused state:
   - Explicitly set paused=true after load
   - Matches GStreamer's PAUSED state

These changes fix:
- Black screen issue (no frames displaying)
- Scrubbing not working (frames not available when paused)
- Fast duration counting (progress only updates when playing)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 19:22:08 -05:00
..
app Format cleanup and minor fixes 2025-12-23 21:56:47 -05:00
benchmark feat: implement unified FFmpeg player and fix critical build issues 2026-01-02 01:02:07 -05:00
convert Enforce display aspect ratio in conversions 2026-01-07 15:38:34 -05:00
enhancement Commit pending assets, deps, and enhancement fixes 2026-01-04 05:09:32 -05:00
interlace Format cleanup and minor fixes 2025-12-23 21:56:47 -05:00
logging Fix author logo preview, scrolling, and icons 2026-01-07 01:42:03 -05:00
metadata Add queue error copy, auto naming helper, and metadata templating 2025-12-07 12:03:21 -05:00
modules Fri 02 Jan 2026 06:24:18 PM EST: Implement critical fixes for production readiness 2026-01-02 18:24:18 -05:00
player fix(player): ensure GStreamer produces and displays frames properly 2026-01-09 19:22:08 -05:00
queue fix: update main menu version display to dev22 2026-01-03 13:58:22 -05:00
state Wire convert state manager callbacks 2026-01-06 17:52:46 -05:00
sysinfo fix: resolve build errors and complete dev22 fixes 2026-01-03 13:17:30 -05:00
thumbnail Add timeout and no-stdin for thumbnail jobs 2026-01-07 16:04:40 -05:00
ui Restore UI noise opacity to 3 percent 2026-01-07 15:29:56 -05:00
utils Enforce display aspect ratio in conversions 2026-01-07 15:38:34 -05:00