Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
66464220
Commit
66464220
authored
Dec 10, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
screencasting: fix build
Properly specify a null format. CCMAIL: jgrulich@redhat.com
parent
fb0bcff1
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/screencast/pipewirestream.cpp
View file @
66464220
...
...
@@ -246,7 +246,7 @@ bool PipeWireStream::createStream()
SPA_FORMAT_mediaType
,
SPA_POD_Id
(
SPA_MEDIA_TYPE_video
),
SPA_FORMAT_mediaSubtype
,
SPA_POD_Id
(
SPA_MEDIA_SUBTYPE_raw
),
SPA_FORMAT_VIDEO_format
,
SPA_POD_CHOICE_ENUM_Id
(
format
==
SPA_VIDEO_FORMAT_BGRA
?
3
:
2
,
format
,
format
,
format
==
SPA_VIDEO_FORMAT_BGRA
?
SPA_VIDEO_FORMAT_BGRx
:
nullptr
),
format
,
format
,
format
==
SPA_VIDEO_FORMAT_BGRA
?
SPA_VIDEO_FORMAT_BGRx
:
SPA_VIDEO_FORMAT_UNKNOWN
),
SPA_FORMAT_VIDEO_size
,
SPA_POD_Rectangle
(
&
resolution
),
SPA_FORMAT_VIDEO_framerate
,
SPA_POD_Fraction
(
&
defaultFramerate
),
SPA_FORMAT_VIDEO_maxFramerate
,
SPA_POD_CHOICE_RANGE_Fraction
(
&
maxFramerate
,
&
minFramerate
,
&
maxFramerate
));
...
...
Jan Grulich
@grulich
mentioned in merge request
!526 (merged)
·
Dec 11, 2020
mentioned in merge request
!526 (merged)
mentioned in merge request !526
Toggle commit list
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment