Commit a922c9f1 authored by Philippe Gorley's avatar Philippe Gorley Committed by Adrien Béraud

video: increase max quality for h264

Recent CPUs should be able to encode higher quality h264 in real-time
without any problems.

Allows users to encode h264 with higher quality if they so choose.

Change-Id: Ibbb01cbc55e20f497f99f56c6c0e6616ff0734bc
parent dffa312b
...@@ -62,7 +62,7 @@ struct SystemCodecInfo ...@@ -62,7 +62,7 @@ struct SystemCodecInfo
static constexpr unsigned DEFAULT_CODEC_QUALITY {30}; static constexpr unsigned DEFAULT_CODEC_QUALITY {30};
#ifdef RING_VIDEO #ifdef RING_VIDEO
static constexpr unsigned DEFAULT_H264_MIN_QUALITY {35}; static constexpr unsigned DEFAULT_H264_MIN_QUALITY {35};
static constexpr unsigned DEFAULT_H264_MAX_QUALITY {25}; static constexpr unsigned DEFAULT_H264_MAX_QUALITY {20};
static constexpr unsigned DEFAULT_VP8_MIN_QUALITY {50}; static constexpr unsigned DEFAULT_VP8_MIN_QUALITY {50};
static constexpr unsigned DEFAULT_VP8_MAX_QUALITY {20}; static constexpr unsigned DEFAULT_VP8_MAX_QUALITY {20};
static constexpr unsigned DEFAULT_VIDEO_BITRATE {1000}; // in Kbits/second static constexpr unsigned DEFAULT_VIDEO_BITRATE {1000}; // in Kbits/second
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment