You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
libobs: Characterize and extract FFmpeg image decoder initialization #4430
Prerequisite to the Phase 5 obs-graphics Rust port. Extract ffmpeg_image_get_buffer, ffmpeg_image_open_decoder_context, ffmpeg_image_init and ffmpeg_image_free verbatim from libobs/graphics/graphics-ffmpeg.c.h into graphics-ffmpeg-init.c.h. Preserve the Rust size predicate dependency and FFmpeg resource lifecycle. Add a new C characterization through public gs_image_file and gs_create_texture_file_data paths for empty, missing, valid PNG and corrupt inputs; run against hybrid and C-reference libraries before and after extraction. No public headers, existing C tests, test graph or native.rs changes. Branch-only delivery; no PR while Actions runners are saturated.
Claiming: characterization and behavior-neutral extraction (pool im-g5-12-ffimginit). Branch: test/ffmpeg-image-init-extract. 1. Add public image-loading C cases and run hybrid/C-reference before extraction. 2. Extract the four initialization/allocation/cleanup bodies verbatim into graphics-ffmpeg-init.c.h, sorted in the media unity group, and rerun both libraries. 3. Run full lint once and push branch-only today; no PR until the queue drains.
This landed with #4493 (merged 2026-11-10): its first two commits are this issue's characterization (test/cmocka/test_ffmpeg_image_init.c) and the verbatim extraction into libobs/graphics/graphics-ffmpeg-init.c.h, and the Rust swap that followed (#4433) is closed too. Nothing left here, so I'm closing it.
Activity
zackees commentedon Nov 9, 2026
Claiming: characterization and behavior-neutral extraction (pool im-g5-12-ffimginit). Branch: test/ffmpeg-image-init-extract. 1. Add public image-loading C cases and run hybrid/C-reference before extraction. 2. Extract the four initialization/allocation/cleanup bodies verbatim into graphics-ffmpeg-init.c.h, sorted in the media unity group, and rerun both libraries. 3. Run full lint once and push branch-only today; no PR until the queue drains.
test: Characterize FFmpeg image initialization through public loaders
libobs: Extract FFmpeg image decoder initialization and cleanup
test: Characterize FFmpeg image initialization through public loaders
libobs: Extract FFmpeg image decoder initialization and cleanup
test: Characterize FFmpeg image initialization through public loaders
libobs: Extract FFmpeg image decoder initialization and cleanup
test: Characterize FFmpeg image initialization through public loaders
libobs: Extract FFmpeg image decoder initialization and cleanup
graphics: Port FFmpeg image decoder lifecycle to safe Rust (obs-rust#…
rdoupe commentedon Nov 16, 2026
This landed with #4493 (merged 2026-11-10): its first two commits are this issue's characterization (
test/cmocka/test_ffmpeg_image_init.c) and the verbatim extraction intolibobs/graphics/graphics-ffmpeg-init.c.h, and the Rust swap that followed (#4433) is closed too. Nothing left here, so I'm closing it.