Skip to content

Commit

Permalink
(a12) default wayland/x11 to h264
Browse files Browse the repository at this point in the history
Since we don't have more detailed info about the type to communicate,
assume the contents to be lively and pick lossy over lossless.
  • Loading branch information
letoram committed Jun 25, 2023
1 parent 1d007af commit 7bec456
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/a12/net/net.c
Expand Up @@ -283,6 +283,8 @@ static struct a12_vframe_opts vcodec_tuning(
* we can deal with passthrough and then device_fail that if the other end
* starts to reject the bitstream */
case SEGID_MEDIA:
case SEGID_BRIDGE_WAYLAND:
case SEGID_BRIDGE_X11:
opts.method = VFRAME_METHOD_H264;
opts.bias = VFRAME_BIAS_QUALITY;
break;
Expand Down

0 comments on commit 7bec456

Please sign in to comment.