Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
429
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
48d50cdf
Commit
48d50cdf
authored
3 years ago
by
Alexandre Janniaux
Committed by
Jean-Baptiste Kempf
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
avcapture: fix output format to BGRA
We request kCVPixelFormatType_32BGRA which is BGRA, not RGB32.
parent
ca04b74f
No related branches found
No related tags found
Loading
Pipeline
#140833
passed with stage
in 47 minutes and 31 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/access/avcapture.m
+1
-1
1 addition, 1 deletion
modules/access/avcapture.m
with
1 addition
and
1 deletion
modules/access/avcapture.m
+
1
−
1
View file @
48d50cdf
...
...
@@ -440,7 +440,7 @@ static int Control(demux_t *p_demux, int i_query, va_list args)
return
nil
;
}
int
chroma
=
VLC_CODEC_
RGB32
;
int
chroma
=
VLC_CODEC_
BGRA
;
memset
(
&
_fmt
,
0
,
sizeof
(
es_format_t
));
es_format_Init
(
&
_fmt
,
VIDEO_ES
,
chroma
);
...
...
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