Skip to content

Commit

Permalink
Offer modifier 0 option to pipewire
Browse files Browse the repository at this point in the history
  • Loading branch information
columbarius committed Nov 9, 2020
1 parent 4250d8f commit 8812b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screencast/pipewire_screencast.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ void xdpw_pwr_stream_init(struct xdpw_screencast_instance *cast) {
SPA_FORMAT_mediaSubtype, SPA_POD_Id(SPA_MEDIA_SUBTYPE_raw),
SPA_FORMAT_VIDEO_format, SPA_POD_CHOICE_ENUM_Id(n_formats + 1,
format, format, format_without_alpha),
SPA_FORMAT_VIDEO_modifier, SPA_POD_CHOICE_ENUM_Long(1,cast->xdpw_frames.screencopy_frame.modifier),
SPA_FORMAT_VIDEO_modifier, SPA_POD_CHOICE_ENUM_Long(2,cast->xdpw_frames.screencopy_frame.modifier, 0),
SPA_FORMAT_VIDEO_size, SPA_POD_CHOICE_RANGE_Rectangle(
&SPA_RECTANGLE(cast->xdpw_frames.simple_frame.width, cast->xdpw_frames.simple_frame.height),
&SPA_RECTANGLE(1, 1),
Expand Down

0 comments on commit 8812b76

Please sign in to comment.