Skip to content
Snippets Groups Projects
Commit 1e5a3092 authored by Philippe Gorley's avatar Philippe Gorley Committed by Adrien Béraud
Browse files

video: increase default h264 level

Level 2.0 (0x14) can only handle up to 352x288 at 30 fps, which can trip
up the decoder (especially a hardware decoder) if the video is of a
higher resolution. Increase the default level to 4.1 (0x29), which can
handle up to 2,048x1,024 at 30 fps.

Change-Id: Icd3fea81a4ea45796bab9d5f985a8ae1e1b36cfd
parent 7f14e58c
Branches
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ namespace ring { namespace libav_utils {
int libav_pixel_format(int fmt);
int ring_pixel_format(int fmt);
const char *const DEFAULT_H264_PROFILE_LEVEL_ID = "profile-level-id=428014";
const char *const DEFAULT_H264_PROFILE_LEVEL_ID = "profile-level-id=428029";
const char *const MAX_H264_PROFILE_LEVEL_ID = "profile-level-id=640034";
void ring_url_split(const char *url,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment