Skip to content

39 bug draw source video render is not executed if draw source update isnt called before - #40

Merged
HichTala merged 3 commits into
masterfrom
39-bug-draw_source_video_render-is-not-executed-if-draw_source_update-isnt-called-before
Nov 9, 2026
Merged

HichTala merged 3 commits into
masterfrom
39-bug-draw_source_video_render-is-not-executed-if-draw_source_update-isnt-called-before

Conversation

@HichTala

@HichTala HichTala commented Nov 9, 2026

Copy link
Copy Markdown
Owner

This PR is following

it corrects the issue by adding a resolve_source function that is called when the plugin source is created and at the start of source render function if the target source is still not referenced and reference the target source.

I also took advantage of this PR to remove the not needed anymore shared memory initialisation in the plugin source creation since it's called anyway in the render function.

It also update the context->source_width and context->source_height inside the render function so the render isn't re-created at each step.

… and remove the shared memory initialisation in the creation of the plugin source since it's called anyway in the source render function
…dated resulting in constantly re generate the render
@HichTala HichTala added the bug Something isn't working label Nov 9, 2026
@HichTala HichTala self-assigned this Nov 9, 2026
@HichTala
HichTala merged commit 84a5c0a into master Nov 9, 2026
6 checks passed
@HichTala
HichTala deleted the 39-bug-draw_source_video_render-is-not-executed-if-draw_source_update-isnt-called-before branch November 9, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: draw_source_video_render is not executed if draw_source_update isn't called before

1 participant