Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
44bdcf0f
Commit
44bdcf0f
authored
9 months ago
by
François-Simon Fauteux-Chapleau
Browse files
Options
Downloads
Patches
Plain Diff
ffmpeg: fix pipewiregrab stride bug
jami-client-qt#1637
Change-Id: Ic8c876ee86ce4f3f1000c82d516d28463df7687a
parent
e5afe3c5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/src/ffmpeg/pipewiregrab-source-filter.patch
+3
-2
3 additions, 2 deletions
contrib/src/ffmpeg/pipewiregrab-source-filter.patch
with
3 additions
and
2 deletions
contrib/src/ffmpeg/pipewiregrab-source-filter.patch
+
3
−
2
View file @
44bdcf0f
...
...
@@ -72,10 +72,10 @@ index d7db46c2af..87204fec71 100644
extern const AVFilter ff_vsrc_smptebars;
diff --git a/libavfilter/vsrc_pipewiregrab.c b/libavfilter/vsrc_pipewiregrab.c
new file mode 100644
index 0000000000..
3ffe38b52f
index 0000000000..
44d64b1eac
--- /dev/null
+++ b/libavfilter/vsrc_pipewiregrab.c
@@ -0,0 +1,137
5
@@
@@ -0,0 +1,137
6
@@
+/*
+ * PipeWire input grabber (ScreenCast)
+ * Copyright (C) 2024 Savoir-faire Linux, Inc.
...
...
@@ -671,6 +671,7 @@ index 0000000000..3ffe38b52f
+ memcpy(pw_ctx->current_frame->data[0], sdata, spa_buf->datas[0].chunk->size);
+ pw_ctx->current_frame->width = frame_width;
+ pw_ctx->current_frame->height = frame_height;
+ pw_ctx->current_frame->linesize[0] = spa_buf->datas[0].chunk->stride;
+ pthread_mutex_unlock(&pw_ctx->current_frame_mutex);
+
+ // Cleanup
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment