aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2022-01-21 15:34:06 +0100
committerMarvin W <git@larma.de>2022-01-21 15:34:06 +0100
commitf270fc768648e8e1fd72f9c18e450db8f1ac52e9 (patch)
tree9e1da3fe28ab6abe6d07de2f48c814058e5cf218
parent37cfbd8c76a457ca6fc882eefde0764cbd10f096 (diff)
downloaddino-f270fc768648e8e1fd72f9c18e450db8f1ac52e9.tar.gz
dino-f270fc768648e8e1fd72f9c18e450db8f1ac52e9.zip
RTP: VAAPI seems to not support VBR and low-power mode at the same time
-rw-r--r--plugins/rtp/src/codec_util.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/rtp/src/codec_util.vala b/plugins/rtp/src/codec_util.vala
index 9709025e..51b37e31 100644
--- a/plugins/rtp/src/codec_util.vala
+++ b/plugins/rtp/src/codec_util.vala
@@ -140,7 +140,7 @@ public class Dino.Plugins.Rtp.CodecUtil {
public static string? get_encode_args(string media, string codec, string encode, JingleRtp.PayloadType? payload_type) {
// H264
if (encode == "msdkh264enc") return @" rate-control=vbr";
- if (encode == "vaapih264enc") return @" rate-control=vbr tune=low-power";
+ if (encode == "vaapih264enc") return @" rate-control=vbr";
if (encode == "x264enc") return @" byte-stream=1 speed-preset=ultrafast tune=zerolatency bframes=0 cabac=false dct8x8=false";
// VP8